|
(Note that these are not member symbols.)
|
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}\).
|
|
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}\).
|
|
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
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a) |
| generates a matrix with a row
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b) |
| generates a matrix with two rows
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c) |
| generates a matrix with three rows
|
|
template<typename T > |
AMatr< T > | makeAMatr (AVec< T > *a, unsigned int n) |
| generates a matrix with n rows
|
|
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
|
|
template<typename T > |
AVec< T > | getOffDiagonalUp (const AMatr< T > &a) |
| returns AVec<T> containing the uper off diagonal elements
|
|
template<typename T > |
T | det (const AMatr< T > &m) |
| computes determinant expression fo cases 2x2 and 3x3 only
|
|
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<T>
|
|
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<T>
|
|
template<typename T > |
AMatr< T > | inverseMatrix (const AMatr< T > &a) |
| returns inverse matrix for cases 2x2 and 3x3<T>
|
|
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}\).
|
|
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}\).
|
|
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
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a) |
| generates a matrix with a row
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b) |
| generates a matrix with two rows
|
|
template<typename T > |
AMatr< T > | makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c) |
| generates a matrix with three rows
|
|
template<typename T > |
AMatr< T > | makeAMatr (AVec< T > *a, unsigned int n) |
| generates a matrix with n rows
|
|
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
|
|
template<typename T > |
AVec< T > | getOffDiagonalUp (const AMatr< T > &a) |
| returns AVec<T> containing the uper off diagonal elements
|
|
template<typename T > |
T | det (const AMatr< T > &m) |
| computes determinant expression fo cases 2x2 and 3x3 only
|
|
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<T>
|
|
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<T>
|
|
template<typename T > |
AMatr< T > | inverseMatrix (const AMatr< T > &a) |
| returns inverse matrix for cases 2x2 and 3x3<T>
|
|
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.