|
| | AMatr () |
| |
| | AMatr (unsigned int nR, unsigned int nC) |
| |
| | AMatr (const AMatr< T > &a) |
| |
| | AMatr (unsigned int nR, unsigned int nC, AVec< T > v) |
| |
| template<typename T1 > |
| | AMatr (const AMatr< T1 > &a) |
| |
| const AMatr< T > & | operator= (const AMatr &a) |
| |
| T & | operator() (int i, int j) |
| | doesn't chek boundaries More...
|
| |
| const T & | operator() (int i, int j) const |
| | doesn't chek boundaries More...
|
| |
| T & | operator[] (int i) |
| | doesn't chek boundaries More...
|
| |
| const T & | operator[] (int i) const |
| | doesn't chek boundaries More...
|
| |
| unsigned int | getNRow () const |
| |
| unsigned int | getNCol () const |
| |
| void | resize (unsigned int nR, unsigned int nCol) |
| |
| const AVec< T > & | getInternalVec () const |
| |
| AVec< T > & | getInternalVec () |
| |
| void | setRow (unsigned int r, const AVec< T > &a) |
| |
| void | setColumn (unsigned int c, const AVec< T > &a) |
| |
| | AMatr () |
| |
| | AMatr (unsigned int nR, unsigned int nC) |
| |
| | AMatr (const AMatr< T > &a) |
| |
| | AMatr (unsigned int nR, unsigned int nC, AVec< T > v) |
| |
| template<typename T1 > |
| | AMatr (const AMatr< T1 > &a) |
| |
| const AMatr< T > & | operator= (const AMatr &a) |
| |
| T & | operator() (int i, int j) |
| | doesn't chek boundaries More...
|
| |
| const T & | operator() (int i, int j) const |
| | doesn't chek boundaries More...
|
| |
| T & | operator[] (int i) |
| | doesn't chek boundaries More...
|
| |
| const T & | operator[] (int i) const |
| | doesn't chek boundaries More...
|
| |
| unsigned int | getNRow () const |
| |
| unsigned int | getNCol () const |
| |
| void | resize (unsigned int nR, unsigned int nCol) |
| |
| const AVec< T > & | getInternalVec () const |
| |
| AVec< T > & | getInternalVec () |
| |
| void | setRow (unsigned int r, const AVec< T > &a) |
| |
| void | setColumn (unsigned int c, const AVec< T > &a) |
| |
|
(Note that these are not member functions.)
|
| template<typename T > |
| std::ostream & | operator<< (std::ostream &f, const AMatr< T > &a) |
| |
| template<typename T > |
| const AMatr< T > & | operator+= (AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator+ (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator- (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AVec< T > | operator* (const AMatr< T > &a, const AVec< T > &b) |
| |
| template<typename T > |
| const AVec< T > | operator* (const AVec< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const AMatr< T > &a, const T &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const T &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const T | trace (const AMatr< T > &a) |
| | Trace of a matrix \(Tr(A)\equiv A_{ii}\). More...
|
| |
| template<typename T > |
| const T | trace (const AMatr< T > &a, const AMatr< T > &b) |
| | Trace of a matrix product \(Tr(A B)\equiv A_{ij}B_{ji}\). More...
|
| |
| template<typename T > |
| const AMatr< T > | operator/ (const AMatr< T > &b, const T &a) |
| |
| template<typename T > |
| AMatr< T > | elementProduct (const AVec< T > &a, const AVec< T > &b) |
| | element product of two vectors More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a) |
| | generates a matrix with a row More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b) |
| | generates a matrix with two rows More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c) |
| | generates a matrix with three rows More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (AVec< T > *a, unsigned int n) |
| | generates a matrix with n rows More...
|
| |
| template<typename T = int> |
| AMatr< T > | makeAMatrUnit (unsigned int n) |
| |
| template<typename T > |
| AVec< T > | getDiagonal (const AMatr< T > &a) |
| | returns AVec containing the diagonal elements More...
|
| |
| template<typename T > |
| AVec< T > | getOffDiagonalUp (const AMatr< T > &a) |
| | returns AVec<T> containing the uper off diagonal elements More...
|
| |
| template<typename T > |
| T | det (const AMatr< T > &m) |
| | computes determinant expression fo cases 2x2 and 3x3 only More...
|
| |
| template<typename T > |
| AMatr< T > | replaceRow (const AMatr< T > &a, const AVec< T > &b, unsigned int r) |
| | generate matrix with content of the matrix a but with replaced row r by vector b More...
|
| |
| template<typename T > |
| AMatr< T > | replaceColumn (const AMatr< T > &a, const AVec< T > &b, unsigned int c) |
| | generate matrix with content of the matrix a but with replaced column c by vector b More...
|
| |
| template<typename T > |
| AMatr< T > | inverseMatrix (const AMatr< T > &a) |
| | returns inverse matrix for cases 2x2 and 3x3 More...
|
| |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &f, const AMatr< T > &a) |
| |
| template<typename T > |
| const AMatr< T > & | operator+= (AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator+ (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator- (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const AMatr< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AVec< T > | operator* (const AMatr< T > &a, const AVec< T > &b) |
| |
| template<typename T > |
| const AVec< T > | operator* (const AVec< T > &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const AMatr< T > &a, const T &b) |
| |
| template<typename T > |
| const AMatr< T > | operator* (const T &a, const AMatr< T > &b) |
| |
| template<typename T > |
| const T | trace (const AMatr< T > &a) |
| | Trace of a matrix \(Tr(A)\equiv A_{ii}\). More...
|
| |
| template<typename T > |
| const T | trace (const AMatr< T > &a, const AMatr< T > &b) |
| | Trace of a matrix product \(Tr(A B)\equiv A_{ij}B_{ji}\). More...
|
| |
| template<typename T > |
| const AMatr< T > | operator/ (const AMatr< T > &b, const T &a) |
| |
| template<typename T > |
| AMatr< T > | elementProduct (const AVec< T > &a, const AVec< T > &b) |
| | element product of two vectors More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a) |
| | generates a matrix with a row More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b) |
| | generates a matrix with two rows More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c) |
| | generates a matrix with three rows More...
|
| |
| template<typename T > |
| AMatr< T > | makeAMatr (AVec< T > *a, unsigned int n) |
| | generates a matrix with n rows More...
|
| |
| template<typename T = int> |
| AMatr< T > | makeAMatrUnit (unsigned int n) |
| |
| template<typename T > |
| AVec< T > | getDiagonal (const AMatr< T > &a) |
| | returns AVec containing the diagonal elements More...
|
| |
| template<typename T > |
| AVec< T > | getOffDiagonalUp (const AMatr< T > &a) |
| | returns AVec<T> containing the uper off diagonal elements More...
|
| |
| template<typename T > |
| T | det (const AMatr< T > &m) |
| | computes determinant expression fo cases 2x2 and 3x3 only More...
|
| |
| template<typename T > |
| AMatr< T > | replaceRow (const AMatr< T > &a, const AVec< T > &b, unsigned int r) |
| | generate matrix with content of the matrix a but with replaced row r by vector b More...
|
| |
| template<typename T > |
| AMatr< T > | replaceColumn (const AMatr< T > &a, const AVec< T > &b, unsigned int c) |
| | generate matrix with content of the matrix a but with replaced column c by vector b More...
|
| |
| template<typename T > |
| AMatr< T > | inverseMatrix (const AMatr< T > &a) |
| | returns inverse matrix for cases 2x2 and 3x3 More...
|
| |
template<typename T = double>
class asl::AMatr< T >
class algebraic matrix. The class is an implementation of a dynamic matrix with defined algebraic operations
Definition at line 38 of file aslMatrices.h.