29#include "acl/aclGenerators.h"
30#include "acl/aclMath/aclMatrixOfElements.h"
31#include "acl/aclMath/aclVectorOfElements.h"
32#include "acl/aclMath/aclVectorOfElements.h"
33#include "math/aslMatrices.h"
34#include "acl/Kernels/aclKernel.h"
35#include "acl/DataTypes/aclArray.h"
43 cout <<
"Test of \"Matrix Operations\" function..." << flush;
52 using namespace elementOperators;
71 cout <<
"Test of \"System Solve Cramer's rule\" function..." << flush;
82 using namespace elementOperators;
100 cout <<
"Test of \"System Solve congugate gradient method\" function..." << flush;
111 using namespace elementOperators;
The class represents several Element.
vector< Element > gcSolveSystemCG(const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x)
generates code for solving the solution of a system of linear equations
vector< Element > gcSolveSystem(const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x)
generates code for solving the solution of a system of linear equations
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
void errorMessage(cl_int status, const char *errorMessage)
Prints errorMessage and exits depending on the status.
MatrixOfElements generateMEConstant(const asl::AMatr< T > &a)
Generates VectorOfElements correspondinng to a.
VectorOfElements generateVEConstant(T a)
Generates VectorOfElements with 1 Element acl::Constant with value a.
Advanced Computational Language.
void copy(MemBlock &source, T *destination)
Advanced Simulation Library.
bool testMatrixOperations()