ASL  0.1.7
Advanced Simulation Library
Namespaces | Functions
aclGenerators.h File Reference
#include "aclMath/aclVectorOfElementsDef.h"
#include "aclMath/aclMatrixOfElements.h"
#include <math/aslVectors.h>
#include <math/aslMatrices.h>
Include dependency graph for aclGenerators.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 acl
 Advanced Computational Language.
 

Functions

template<typename T >
VectorOfElements acl::generateVEConstant (T a)
 Generates VectorOfElements with 1 Element acl::Constant with value a. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b)
 Generates VectorOfElements with 2 Elements acl::Constant with values a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b, T c)
 Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEConstantN (unsigned int n, T a)
 Generates VectorOfElements with n Elements acl::Constant with values a. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (unsigned int n, const T *const a)
 Generates VectorOfElements with n Elements acl::Constant with values a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (const std::vector< T > &a)
 Generates VectorOfElements with a.size() Elements acl::Constant with values a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEConstant (const asl::AVec< T > &a)
 Generates VectorOfElements correspondinng to a. More...
 
template<typename T >
MatrixOfElements acl::generateMEConstant (const asl::AMatr< T > &a)
 Generates VectorOfElements correspondinng to a. More...
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length. More...
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents=1)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue. More...
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length. More...
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents=1)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length and default queue. More...
 
VectorOfElements acl::generateVELocalArray (unsigned int componentSize, TypeID typeID, unsigned int size)
 Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T >> &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T >> &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
 
template<typename T >
VectorOfElements acl::generateVEDataSub (T, unsigned int sublength, unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Subvector with size sublength. length is the vector size. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b, T &c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableR (asl::AVec< T > &a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b, std::shared_ptr< T > c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c. More...
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< asl::AVec< T >> a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
 
template<typename T >
VectorOfElements acl::generateVEPrivateVariable (unsigned int n)
 Generates VectorOfElements with n Element of acl::PrivateVariable. More...
 
VectorOfElements acl::generateVEPrivateVariable (unsigned int n, TypeID t)
 Generates VectorOfElements with n Element of acl::PrivateVariable with type t. More...
 
MatrixOfElements acl::generateMEPrivateVariable (unsigned int nR, unsigned int nC, TypeID t)
 Generates VectorOfElements with n Element of acl::PrivateVariable with type t. More...
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, const std::vector< int > &offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEShiftedElements (VectorOfElements a, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
 
VectorOfElements acl::generateVEPolynom (VectorOfElements x, VectorOfElements coefs)
 
VectorOfElements acl::generateParsedVE (const VectorOfElements &fields, const vector< string > &names, const string &statement)
 
template<typename T = int>
MatrixOfElements acl::generateMEUnit (unsigned int n)
 
MatrixOfElements acl::generateMEDiagonal (const VectorOfElements &d)
 
MatrixOfElements acl::generateMEGivensRotation (unsigned int k, unsigned int l, const VectorOfElements &sc)
 
template<typename T >
VectorOfElements acl::indexDependedConstant (vector< unsigned int > r, vector< T > values)
 
VectorOfElements acl::generateVEIndex (unsigned int size=0)
 
VectorOfElements acl::generateVEGroupID ()
 
VectorOfElements acl::generateVEIndexExt (unsigned int size=0)