24 #ifndef ACLMATRIXOFELEMENTS_H 25 #define ACLMATRIXOFELEMENTS_H 45 unsigned int ij2i(
unsigned int i,
unsigned int j)
const;
58 inline void resize(
unsigned int nr,
unsigned int nc);
223 #endif // ACLMATRIXOFELEMENTS_H const VectorOfElements getVE(unsigned int r, unsigned int c) const
MatrixOfElements operator=(const MatrixOfElements &m)
Advanced Computational Language.
Element operator+(Element e1, Element e2)
vector< Element > gcSolveSystem(const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x)
generates code for solving the solution of a system of linear equations
const unsigned int getNColumns() const
void setElement(unsigned int r, unsigned int c, Element a)
void setRow(unsigned int r, const VectorOfElements &a)
const Element getElement(unsigned int r, unsigned int c) const
VectorOfElements & getInternalVector()
Element operator/(Element e1, Element e2)
VectorOfElements solveSystem(const MatrixOfElements &a, const VectorOfElements &b)
returns solution of a system of linear equations
Element operator-(Element e)
The class represents a matrix elements of 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
void resize(unsigned int nr, unsigned int nc)
The class represents several Element.
const unsigned int getNRows() const
void setColumn(unsigned int c, const VectorOfElements &a)
std::shared_ptr< ElementBase > Element
MatrixOfElements(unsigned int nR=0, unsigned int nC=0)
void copy(MemBlock &source, T *destination)
Element operator*(Element e1, Element e2)