ASL  0.1.6
Advanced Simulation Library
Public Member Functions | Related Functions | List of all members
acl::VectorOfElements Class Reference

The class represents several Element. More...

#include <aclVectorOfElementsDef.h>

Inheritance diagram for acl::VectorOfElements:

Public Member Functions

bool checkSizesCompatibility (unsigned int n) const
 checks whether all Elements have sizes compatible with n More...
 
 VectorOfElements ()
 
 VectorOfElements (unsigned int n)
 
 VectorOfElements (const VectorOfElementsData &a)
 
VectorOfElements operator= (const VectorOfElements &a) const
 
bool checkSizesCompatibility (unsigned int n) const
 checks whether all Elements have sizes compatible with n More...
 
 VectorOfElements ()
 
 VectorOfElements (unsigned int n)
 
 VectorOfElements (const VectorOfElementsData &a)
 
VectorOfElements operator= (const VectorOfElements &a) const
 

Related Functions

(Note that these are not member functions.)

ExpressionContaineroperator<< (ExpressionContainer &ec, const std::vector< Element > &a)
 puts a vector<Element> in ExpressionContainer More...
 
std::vector< Element > & operator<< (std::vector< Element > &ec, const std::vector< Element > &a)
 puts a vector<Element> in ExpressionContainer More...
 
ExpressionContaineroperator<< (ExpressionContainer &ec, const MatrixOfElements &a)
 puts a MatrixOfElements in ExpressionContainer More...
 
ExpressionContaineroperator<< (ExpressionContainer &ec, const ExpressionContainer &a)
 puts a ExpressionContainer in ExpressionContainer More...
 
acl::TypeID getElementType (const VectorOfElements &a, unsigned int i=0)
 
unsigned int getElementsSize (const VectorOfElements &a)
 
void initData (VectorOfElements a, VectorOfElements initializationValue, const KernelConfiguration &kernelConfig)
 
void initData (VectorOfElements a, VectorOfElements initializationValue)
 
void copy (const vector< Element > &source, VectorOfElements &destination)
 Copies the VectorOfElements class. More...
 
void copy (const vector< ElementData > &source, VectorOfElements &destination)
 Copies the VectorOfElements class. More...
 
void copy (const vector< Element > &source, VectorOfElements &destination, unsigned int start, unsigned int end)
 Copies the VectorOfElements class. More...
 
VectorOfElements subVE (const VectorOfElements &source, unsigned int start, unsigned int end)
 
VectorOfElements subVE (const VectorOfElements &source, unsigned int i)
 
VectorOfElements subVE (const VectorOfElements &source, const vector< unsigned int > &iList)
 
VectorOfElementsData subVE (const VectorOfElementsData &source, unsigned int start, unsigned int end)
 
VectorOfElements assignmentSafe (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator- (const VectorOfElements &a)
 
VectorOfElements operator+= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator-= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator*= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator/= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator+ (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator- (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator* (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator/ (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator% (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator== (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator!= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator> (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator< (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator<= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator>= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator&& (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator|| (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator! (const VectorOfElements &a)
 
VectorOfElements crossProduct (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements l2 (const VectorOfElements &a)
 
VectorOfElements productOfElements (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements productOfElements (const VectorOfElements &a)
 
VectorOfElements divisionOfElements (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements min (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements min (const VectorOfElements &a, const VectorOfElements &b, TypeID type)
 
VectorOfElements minAbs (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements max (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements max (const VectorOfElements &a, const VectorOfElements &b, TypeID type)
 
VectorOfElements copysign (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements copysign (const VectorOfElements &a, const VectorOfElements &b, TypeID t)
 
VectorOfElements sign (const VectorOfElements &a)
 
VectorOfElements excerpt (const VectorOfElements &source, const VectorOfElements &filter)
 
VectorOfElements select (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements select (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements select (const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements mad (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements mad (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements log (const VectorOfElements &a)
 
VectorOfElements log10 (const VectorOfElements &a)
 
VectorOfElements powI (const VectorOfElements &a, unsigned int i)
 
VectorOfElements exp (const VectorOfElements &a)
 
VectorOfElements sqrt (const VectorOfElements &a)
 
VectorOfElements rsqrt (const VectorOfElements &a)
 
VectorOfElements fabs (const VectorOfElements &a)
 
VectorOfElements abs (const VectorOfElements &a)
 
VectorOfElements abs_diff (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements floor (const VectorOfElements &a)
 
VectorOfElements convert (acl::TypeID type, const VectorOfElements &a, bool strong=true)
 
VectorOfElements minElement (const VectorOfElements &a)
 
VectorOfElements minAbsElement (const VectorOfElements &a)
 
VectorOfElements maxElement (const VectorOfElements &a)
 
VectorOfElements sumOfElements (const VectorOfElements &a)
 
VectorOfElements andOfElements (const VectorOfElements &a)
 
VectorOfElements orOfElements (const VectorOfElements &a)
 
VectorOfElements cat (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElementsData cat (const VectorOfElementsData &a, const VectorOfElementsData &b)
 
VectorOfElements cat (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements cat (const VectorOfElements *a, unsigned int n)
 
VectorOfElements catN (const VectorOfElements &a, unsigned int n)
 
template<typename T >
VectorOfElements operator+= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator-= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator*= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator/= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator+ (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator+ (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator- (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator- (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator* (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator* (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator/ (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator% (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator/ (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator% (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator> (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator> (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator< (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator< (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator>= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator>= (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator<= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator<= (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator== (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator== (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator!= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator!= (const T &b, const VectorOfElements &a)
 
ExpressionContaineroperator<< (ExpressionContainer &ec, const std::vector< Element > &a)
 puts a vector<Element> in ExpressionContainer More...
 
std::vector< Element > & operator<< (std::vector< Element > &ec, const std::vector< Element > &a)
 puts a vector<Element> in ExpressionContainer More...
 
ExpressionContaineroperator<< (ExpressionContainer &ec, const MatrixOfElements &a)
 puts a MatrixOfElements in ExpressionContainer More...
 
ExpressionContaineroperator<< (ExpressionContainer &ec, const ExpressionContainer &a)
 puts a ExpressionContainer in ExpressionContainer More...
 
acl::TypeID getElementType (const VectorOfElements &a, unsigned int i=0)
 
unsigned int getElementsSize (const VectorOfElements &a)
 
void initData (VectorOfElements a, VectorOfElements initializationValue, const KernelConfiguration &kernelConfig)
 
void initData (VectorOfElements a, VectorOfElements initializationValue)
 
void copy (const vector< Element > &source, VectorOfElements &destination)
 Copies the VectorOfElements class. More...
 
void copy (const vector< ElementData > &source, VectorOfElements &destination)
 Copies the VectorOfElements class. More...
 
void copy (const vector< Element > &source, VectorOfElements &destination, unsigned int start, unsigned int end)
 Copies the VectorOfElements class. More...
 
VectorOfElements subVE (const VectorOfElements &source, unsigned int start, unsigned int end)
 
VectorOfElements subVE (const VectorOfElements &source, unsigned int i)
 
VectorOfElements subVE (const VectorOfElements &source, const vector< unsigned int > &iList)
 
VectorOfElementsData subVE (const VectorOfElementsData &source, unsigned int start, unsigned int end)
 
VectorOfElements assignmentSafe (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator- (const VectorOfElements &a)
 
VectorOfElements operator+= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator-= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator*= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator/= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator+ (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator- (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator* (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator/ (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator% (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator== (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator!= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator> (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator< (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator<= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator>= (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator&& (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator|| (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements operator! (const VectorOfElements &a)
 
VectorOfElements crossProduct (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements l2 (const VectorOfElements &a)
 
VectorOfElements productOfElements (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements productOfElements (const VectorOfElements &a)
 
VectorOfElements divisionOfElements (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements min (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements min (const VectorOfElements &a, const VectorOfElements &b, TypeID type)
 
VectorOfElements minAbs (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements max (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements max (const VectorOfElements &a, const VectorOfElements &b, TypeID type)
 
VectorOfElements copysign (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements copysign (const VectorOfElements &a, const VectorOfElements &b, TypeID t)
 
VectorOfElements sign (const VectorOfElements &a)
 
VectorOfElements excerpt (const VectorOfElements &source, const VectorOfElements &filter)
 
VectorOfElements select (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements select (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements select (const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements mad (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements mad (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
 
VectorOfElements log (const VectorOfElements &a)
 
VectorOfElements log10 (const VectorOfElements &a)
 
VectorOfElements powI (const VectorOfElements &a, unsigned int i)
 
VectorOfElements exp (const VectorOfElements &a)
 
VectorOfElements sqrt (const VectorOfElements &a)
 
VectorOfElements rsqrt (const VectorOfElements &a)
 
VectorOfElements fabs (const VectorOfElements &a)
 
VectorOfElements abs (const VectorOfElements &a)
 
VectorOfElements abs_diff (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElements floor (const VectorOfElements &a)
 
VectorOfElements convert (acl::TypeID type, const VectorOfElements &a, bool strong=true)
 
VectorOfElements minElement (const VectorOfElements &a)
 
VectorOfElements minAbsElement (const VectorOfElements &a)
 
VectorOfElements maxElement (const VectorOfElements &a)
 
VectorOfElements sumOfElements (const VectorOfElements &a)
 
VectorOfElements andOfElements (const VectorOfElements &a)
 
VectorOfElements orOfElements (const VectorOfElements &a)
 
VectorOfElements cat (const VectorOfElements &a, const VectorOfElements &b)
 
VectorOfElementsData cat (const VectorOfElementsData &a, const VectorOfElementsData &b)
 
VectorOfElements cat (const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
 
VectorOfElements cat (const VectorOfElements *a, unsigned int n)
 
VectorOfElements catN (const VectorOfElements &a, unsigned int n)
 
template<typename T >
VectorOfElements operator+= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator-= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator*= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator/= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator+ (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator+ (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator- (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator- (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator* (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator* (const T &a, const VectorOfElements &b)
 
template<typename T >
VectorOfElements operator/ (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator% (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator/ (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator% (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator> (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator> (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator< (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator< (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator>= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator>= (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator<= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator<= (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator== (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator== (const T &b, const VectorOfElements &a)
 
template<typename T >
VectorOfElements operator!= (const VectorOfElements &a, const T &b)
 
template<typename T >
VectorOfElements operator!= (const T &b, const VectorOfElements &a)
 

Detailed Description

The class represents several Element.

Basicaly the class is identical to the std::vector class. The only difference is the assigment operator and mathematical operations.

Examples:
testASLData.cc, testMatrixOfElements.cc, testReductionFunction.cc, and testVectorOfElements.cc.

Definition at line 91 of file aclVectorOfElementsDef.h.

Constructor & Destructor Documentation

acl::VectorOfElements::VectorOfElements ( )
acl::VectorOfElements::VectorOfElements ( unsigned int  n)
explicit
acl::VectorOfElements::VectorOfElements ( const VectorOfElementsData a)
acl::VectorOfElements::VectorOfElements ( )
acl::VectorOfElements::VectorOfElements ( unsigned int  n)
explicit
acl::VectorOfElements::VectorOfElements ( const VectorOfElementsData a)

Member Function Documentation

bool acl::VectorOfElements::checkSizesCompatibility ( unsigned int  n) const

checks whether all Elements have sizes compatible with n

bool acl::VectorOfElements::checkSizesCompatibility ( unsigned int  n) const

checks whether all Elements have sizes compatible with n

VectorOfElements acl::VectorOfElements::operator= ( const VectorOfElements a) const
VectorOfElements acl::VectorOfElements::operator= ( const VectorOfElements a) const

Friends And Related Function Documentation

VectorOfElements abs ( const VectorOfElements a)
related

Creates VectorOfElements containing result element-wise operation abs(a);

VectorOfElements abs_diff ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing result element-wise operation abs_diff(a, b);

VectorOfElements andOfElements ( const VectorOfElements a)
related

Creates VectorOfElements containing a && operation result of elements

VectorOfElements assignmentSafe ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing assignment operation result a=b

VectorOfElements cat ( const VectorOfElements a,
const VectorOfElements b 
)
related

Concatinates two vectors a and b \( cat\left( \left[\begin{array}{c} a_1\\a_2\\...\\a_n\\ \end{array}\right], \left[\begin{array}{c} b_1\\b_2\\...\\b_m\\ \end{array}\right] \right)= \left[\begin{array}{c} a_1\\a_2\\ \vdots \\a_n\\ b_1\\b_2\\ \vdots \\b_m\\ \end{array}\right]. \)

VectorOfElementsData cat ( const VectorOfElementsData a,
const VectorOfElementsData b 
)
related

Concatinates two vectors a and b \( cat\left( \left[\begin{array}{c} a_1\\a_2\\...\\a_n\\ \end{array}\right], \left[\begin{array}{c} b_1\\b_2\\...\\b_m\\ \end{array}\right] \right)= \left[\begin{array}{c} a_1\\a_2\\ \vdots \\a_n\\ b_1\\b_2\\ \vdots \\b_m\\ \end{array}\right]. \)

VectorOfElements cat ( const VectorOfElements a,
const VectorOfElements b,
const VectorOfElements c 
)
related

Concatinates three vectors a b and c \( cat\left( \left[\begin{array}{c} a_1\\...\\a_n\\ \end{array}\right], \left[\begin{array}{c} b_1\\...\\b_m\\ \end{array}\right], \left[\begin{array}{c} c_1\\...\\c_l\\ \end{array}\right] \right)= \left[\begin{array}{c} a_1\\...\\a_n\\ b_1\\...\\b_m\\ c_1\\...\\c_l\\ \end{array}\right]. \)

VectorOfElements cat ( const VectorOfElements a,
unsigned int  n 
)
related

Concatinates n VectorOfElements a

VectorOfElements catN ( const VectorOfElements a,
unsigned int  n 
)
related

Concatinates VectorOfElements a to itself n times

VectorOfElements convert ( acl::TypeID  type,
const VectorOfElements a,
bool  strong = true 
)
related

Creates VectorOfElements with openCL type casting;

void copy ( const vector< Element > &  source,
VectorOfElements destination 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly

void copy ( const vector< Element > &  source,
VectorOfElements destination 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly

void copy ( const vector< ElementData > &  source,
VectorOfElements destination 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly

void copy ( const vector< ElementData > &  source,
VectorOfElements destination 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly

void copy ( const vector< Element > &  source,
VectorOfElements destination,
unsigned int  start,
unsigned int  end 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly start and end define elements to copy: [start: end]

void copy ( const vector< Element > &  source,
VectorOfElements destination,
unsigned int  start,
unsigned int  end 
)
related

Copies the VectorOfElements class.

the destination is resized automaticaly start and end define elements to copy: [start: end]

VectorOfElements copysign ( const VectorOfElements a,
const VectorOfElements b 
)
related

returns a with sign of b copysign(a,b)

VectorOfElements copysign ( const VectorOfElements a,
const VectorOfElements b,
TypeID  t 
)
related

returns a with sign of b copysign(a,b) with type specification

VectorOfElements crossProduct ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are crossproduct of corresponding elements of a and b

The function is defined for 2D and 3D cases

VectorOfElements divisionOfElements ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are division of corresponding elements of a and b

VectorOfElements excerpt ( const VectorOfElements source,
const VectorOfElements filter 
)
related

Creates VectorOfElements which elements are result of excerpt operation of source and filter elements

The filter shoule have only 1 component

VectorOfElements exp ( const VectorOfElements a)
related

Creates VectorOfElements containing result exp(a); a should contain only one element

VectorOfElements fabs ( const VectorOfElements a)
related

Creates VectorOfElements containing result element-wise operation fabs(a);

VectorOfElements floor ( const VectorOfElements a)
related

Creates VectorOfElements containing result element-wise operation \( floor(a_i) \)

unsigned int getElementsSize ( const VectorOfElements a)
related
unsigned int getElementsSize ( const VectorOfElements a)
related
acl::TypeID getElementType ( const VectorOfElements a,
unsigned int  i = 0 
)
related
acl::TypeID getElementType ( const VectorOfElements a,
unsigned int  i = 0 
)
related
void initData ( VectorOfElements  a,
VectorOfElements  initializationValue,
const KernelConfiguration kernelConfig 
)
related

Writes data from initializationValue to a

void initData ( VectorOfElements  a,
VectorOfElements  initializationValue,
const KernelConfiguration kernelConfig 
)
related

Writes data from initializationValue to a

Examples:
cubeGravity.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, and poroelastic.cc.
void initData ( VectorOfElements  a,
VectorOfElements  initializationValue 
)
related

Writes data from initializationValue to a

void initData ( VectorOfElements  a,
VectorOfElements  initializationValue 
)
related

Writes data from initializationValue to a

VectorOfElements l2 ( const VectorOfElements a)
related

Creates VectorOfElements b corresponding to a scala product a*a

The function is defined for 2D and 3D cases

Definition at line 751 of file aclVectorOfElementsOperations.h.

VectorOfElements log ( const VectorOfElements a)
related

Creates VectorOfElements containing result log(a); a should contain only one element

VectorOfElements log10 ( const VectorOfElements a)
related

Creates VectorOfElements containing result log10(a); a should contain only one element

VectorOfElements mad ( const VectorOfElements a,
const VectorOfElements b,
const VectorOfElements c 
)
related

Creates VectorOfElements containing operation result of elements a, b and c For a scalar type, result = a * b + c

VectorOfElements mad ( const VectorOfElements a,
const VectorOfElements b,
const VectorOfElements c,
TypeID  t 
)
related

Creates VectorOfElements containing operation result of elements a, b and c with type specification For a scalar type, result = a * b + c

VectorOfElements max ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are max of corresponding elements of a and b

VectorOfElements max ( const VectorOfElements a,
const VectorOfElements b,
TypeID  type 
)
related

Creates VectorOfElements c which elements are max of corresponding elements of a and b with type specification

VectorOfElements maxElement ( const VectorOfElements a)
related

Creates VectorOfElements containing a min element

VectorOfElements min ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are min of corresponding elements of a and b

VectorOfElements min ( const VectorOfElements a,
const VectorOfElements b,
TypeID  type 
)
related

Creates VectorOfElements c which elements are min of corresponding elements of a and b with type specification

VectorOfElements minAbs ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are min of corresponding elements of a and b

VectorOfElements minAbsElement ( const VectorOfElements a)
related

Creates VectorOfElements containing an element with minimal absolute value

VectorOfElements minElement ( const VectorOfElements a)
related

Creates VectorOfElements containing a min element

VectorOfElements operator! ( const VectorOfElements a)
related

Creates VectorOfElements containing operation result of element a

VectorOfElements operator!= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator!= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double b The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator!= ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double b

The function creates automaticaly a constant of a corresponding type

VectorOfElements operator% ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator% ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator% ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator&& ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a && b

VectorOfElements operator* ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

In case of sizes of a and b are equal the product is a scalar (dot) product. If one of sizes is 1 than the function results product of a scalar on vector

template<typename T >
VectorOfElements operator* ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator* ( const T &  a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

VectorOfElements operator*= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

It is assumed that size of b is 1

template<typename T >
VectorOfElements operator*= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator+ ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator+ ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator+ ( const T &  a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator+= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator+= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

VectorOfElements operator- ( const VectorOfElements a)
related

Creates VectorOfElements containing operation result of element a

VectorOfElements operator- ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator- ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator- ( const T &  a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

VectorOfElements operator-= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator-= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double

The function creates automaticaly a constant of a corresponding type

VectorOfElements operator/ ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

template<typename T >
VectorOfElements operator/ ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator/ ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator/= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements of a and b

It is supposed that size of b is 1

template<typename T >
VectorOfElements operator/= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator< ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator< ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator< ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

ExpressionContainer & operator<< ( ExpressionContainer ec,
const std::vector< Element > &  a 
)
related

puts a vector<Element> in ExpressionContainer

std::vector< Element > & operator<< ( std::vector< Element > &  ec,
const std::vector< Element > &  a 
)
related

puts a vector<Element> in ExpressionContainer

ExpressionContainer & operator<< ( ExpressionContainer ec,
const std::vector< Element > &  a 
)
related

puts a vector<Element> in ExpressionContainer

std::vector< Element > & operator<< ( std::vector< Element > &  ec,
const std::vector< Element > &  a 
)
related

puts a vector<Element> in ExpressionContainer

ExpressionContainer & operator<< ( ExpressionContainer ec,
const MatrixOfElements a 
)
related
ExpressionContainer & operator<< ( ExpressionContainer ec,
const MatrixOfElements a 
)
related
ExpressionContainer & operator<< ( ExpressionContainer ec,
const ExpressionContainer a 
)
related
ExpressionContainer & operator<< ( ExpressionContainer ec,
const ExpressionContainer a 
)
related
VectorOfElements operator<= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator<= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator<= ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator== ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator== ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator== ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double b The function creates automaticaly a constant of a corresponding type

VectorOfElements operator> ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator> ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator> ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator>= ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a and b

template<typename T >
VectorOfElements operator>= ( const VectorOfElements a,
const T &  b 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

template<typename T >
VectorOfElements operator>= ( const T &  b,
const VectorOfElements a 
)
related

Creates VectorOfElements containing operation result of elements of a and a double The function creates automaticaly a constant of a corresponding type

VectorOfElements operator|| ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements containing operation result of elements a || b

VectorOfElements orOfElements ( const VectorOfElements a)
related

Creates VectorOfElements containing a || operation result of elements

VectorOfElements powI ( const VectorOfElements a,
unsigned int  i 
)
related

Creates VectorOfElements containing result a^i; a should contain only one element

VectorOfElements productOfElements ( const VectorOfElements a,
const VectorOfElements b 
)
related

Creates VectorOfElements c which elements are product of corresponding elements of a and b

VectorOfElements productOfElements ( const VectorOfElements a)
related

Creates VectorOfElements c which element is a product of all elements of a

VectorOfElements rsqrt ( const VectorOfElements a)
related

Creates VectorOfElements containing result exp(a); a should contain only one element

VectorOfElements select ( const VectorOfElements a,
const VectorOfElements b,
const VectorOfElements c 
)
related

Creates VectorOfElements containing operation result of elements a, b and c For a scalar type, result = c ? b : a

The function can operate in two modes: c has 1 components and several components.

VectorOfElements select ( const VectorOfElements a,
const VectorOfElements b,
const VectorOfElements c,
TypeID  t 
)
related

Creates VectorOfElements containing operation result of elements a, b and c For a scalar type, result = c ? b : a, with type specification

The function can operate in two modes: c has 1 components and several components.

VectorOfElements select ( const VectorOfElements b,
const VectorOfElements c,
TypeID  t 
)
related

Creates VectorOfElements containing operation result of elements a, b and c For a scalar type, result = c ? b : 0, with type specification

The function can operate in two modes: c has 1 components and several components.

VectorOfElements sign ( const VectorOfElements a)
related

returns sign of a

VectorOfElements sqrt ( const VectorOfElements a)
related

Creates VectorOfElements containing result exp(a); a should contain only one element

VectorOfElements subVE ( const VectorOfElements source,
unsigned int  start,
unsigned int  end 
)
related

returns VectorOfElements class containing several elements of a.

VectorOfElements subVE ( const VectorOfElements source,
unsigned int  start,
unsigned int  end 
)
related

returns VectorOfElements class containing several elements of a.

VectorOfElements subVE ( const VectorOfElements source,
unsigned int  i 
)
related

returns VectorOfElements class containing one element i of a.

VectorOfElements subVE ( const VectorOfElements source,
unsigned int  i 
)
related

returns VectorOfElements class containing one element i of a.

VectorOfElements subVE ( const VectorOfElements source,
const vector< unsigned int > &  iList 
)
related

returns VectorOfElements class containing elements with numbers iList of source.

VectorOfElements subVE ( const VectorOfElements source,
const vector< unsigned int > &  iList 
)
related

returns VectorOfElements class containing elements with numbers iList of source.

VectorOfElementsData subVE ( const VectorOfElementsData source,
unsigned int  start,
unsigned int  end 
)
related

returns VectorOfElements class containing several elements of a.

VectorOfElementsData subVE ( const VectorOfElementsData source,
unsigned int  start,
unsigned int  end 
)
related

returns VectorOfElements class containing several elements of a.

VectorOfElements sumOfElements ( const VectorOfElements a)
related

Creates VectorOfElements containing a sum of elements


The documentation for this class was generated from the following files: