ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
Collaboration diagram for Complex Data Types:

Topics

 VectorOfElements generators
 MatrixOfElements generators

Classes

class  acl::Barycentric
 realizes Barycentric algorithms for triangles generated within Kernel More...
class  acl::ComplexNumOfElements
 The class represents a matrix elements of ::Element. More...
class  acl::MatrixOfElements
 The class represents a matrix elements of ::Element. More...
class  acl::QuaternionOfElements
 The class represents a matrix elements of ::Element. More...
class  acl::ReductionAlgGenerator< ResType, Op >
 The class generates code corresponding to a reduction operation of elements. More...
class  acl::VectorOfElementsData
 The class represents several ::ElementData. More...
class  acl::VectorOfElements
 The class represents several ::Element. More...
class  asl::Barycentric
 realize Barycentric algoritms for trianles generated within Kernel More...

Functions

VectorOfElements acl::solveSystem (const MatrixOfElements &a, const VectorOfElements &b)
 returns solution of a system of linear equations
vector< Elementacl::gcSolveSystem (const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x)
 generates code for solving the solution of a system of linear equations
vector< Elementacl::gcSolveSystemCG (const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x)
 generates code for solving the solution of a system of linear equations
template<typename T>
AVec< T > asl::solveSystem (const AMatr< T > &a, const AVec< T > &b)
 returns solution of a system of linear equations

Detailed Description

Function Documentation

◆ gcSolveSystem()

vector< Element > acl::gcSolveSystem ( const MatrixOfElements & a,
const VectorOfElements & b,
const VectorOfElements & x )

generates code for solving the solution of a system of linear equations

Solves system of 2 or 3 equations with the Cramer's rule

Examples
testMatrixOfElements.cc.

◆ gcSolveSystemCG()

vector< Element > acl::gcSolveSystemCG ( const MatrixOfElements & a,
const VectorOfElements & b,
const VectorOfElements & x )

generates code for solving the solution of a system of linear equations


Solves system of an arbiterary number of equations with the conjugate gradient method. The function constructs the algorithm with number of iterations of vector size. The initial value of \( x_0 \) is \(b\).

Examples
testMatrixOfElements.cc.

◆ solveSystem() [1/2]

VectorOfElements acl::solveSystem ( const MatrixOfElements & a,
const VectorOfElements & b )

returns solution of a system of linear equations

◆ solveSystem() [2/2]

template<typename T>
AVec< T > asl::solveSystem ( const AMatr< T > & a,
const AVec< T > & b )

returns solution of a system of linear equations