class for mathematical square matrix
More...
#include <Matrix.h>
List of all members.
Additional Inherited Members |
Vector< Obj, SIZE > | array [SIZE] |
Detailed Description
template<typename Obj, unsigned int SIZE>
class tlp::Matrix< Obj, SIZE >
class for mathematical square matrix
Enables to create a Square Matrix of Obj with a limited size and provides Mathematical operation. Mathematical operators must be defined for Obj. Out of bound accesses are only checked in debug mode.
- Author:
- : David Auber auber.nosp@m.@tul.nosp@m.ip-so.nosp@m.ftwa.nosp@m.re.or.nosp@m.g
-
Contributor : Maxime Delorme
- Version:
- 0.0.2 27/04/2005
Constructor & Destructor Documentation
template<typename Obj , unsigned int SIZE>
template<typename Obj , unsigned int SIZE>
template<typename Obj , unsigned int SIZE>
tlp::Matrix< Obj, SIZE >::Matrix |
( |
const std::vector< std::vector< Obj > > & |
covarianceMatrix | ) |
|
Member Function Documentation
template<typename Obj , unsigned int SIZE>
Returns the cofactor Matrix of this
template<typename Obj , unsigned int SIZE>
Compute the determinant of the matrix,
template<typename Obj , unsigned int SIZE>
Fill the matrix with the value of obj
template<typename Obj , unsigned int SIZE>
Inverse the matrix and return "&(*this)"
template<typename Obj , unsigned int SIZE>
Check non equality of two Matrices
template<typename Obj , unsigned int SIZE>
Multiply the matrix by another matrix and return "&(*this)"
template<typename Obj , unsigned int SIZE>
Multiply all elements of the matrix by obj, return "&(*this)"
template<typename Obj , unsigned int SIZE>
return the sum of two matrices
template<typename Obj , unsigned int SIZE>
add another matrix to the current one and return "&(*this)"
template<typename Obj , unsigned int SIZE>
return the difference of two matrices
template<typename Obj , unsigned int SIZE>
substract another matrix from the current and return "&(*this)"
template<typename Obj , unsigned int SIZE>
Returns a new matrix equal to the division of the matrix by another matrix"
template<typename Obj , unsigned int SIZE>
Returns a new matrix equal to the division of the matrix by obj"
template<typename Obj , unsigned int SIZE>
Divide the matrix by another one return "&(*this)"
template<typename Obj , unsigned int SIZE>
Divide all elements of the matrix by obj, return "&(*this)"
template<typename Obj , unsigned int SIZE>
Check equality of two Matrices
template<typename Obj , unsigned int SIZE>
Vector<Obj,SIZE> tlp::Matrix< Obj, SIZE >::powerIteration |
( |
const unsigned int |
nIterations | ) |
const |
|
inline |
Returns a new vector equal to the most influent eigenvector of the matrix
template<typename Obj , unsigned int SIZE>
Transpose the matrix and return "&(*this)".
|