|
Public Member Functions | |
Matrix (size_t rows=0, size_t columns=0) | |
Matrix (const Matrix &m) | |
virtual void | setSize (size_t rows, size_t columns) |
size_t | getSize () const |
virtual size_t | getRows () const |
virtual size_t | getColumns () const |
T & | operator() (const size_t &i) |
const T & | operator() (const size_t &i) const |
T & | operator() (const size_t &i, const size_t &j) |
const T & | operator() (const size_t &i, const size_t &j) const |
void | fill (const T &x) |
Resets the values, leaving geomatry. | |
std::vector< T >::iterator | begin () |
std::vector< T >::iterator | end () |
std::vector< T >::const_iterator | begin () const |
std::vector< T >::const_iterator | end () const |
template<class T2 > | |
Matrix< T > & | operator= (const std::vector< T2 > &v) |
operator std::vector< T > & () const | |
void | transpose (Matrix< T > &dst) |
template<class T2 , class T3 > | |
void | multiply (const Matrix< T2 > &src2, Matrix< T3 > &dst) |
template<class T2 > | |
void | inverse (Matrix< T2 > &dst) |
Computes the inverse of a matrix. More... | |
template<class T2 > | |
void | inverse3 (Matrix< T2 > &dst) |
Computes the inverse of a 3-by-3 matrix. More... | |
void inverse | ( | Matrix< T2 > & | dst | ) |
Computes the inverse of a matrix.
Currently, only 2x2 and 3x3 matrices are supported.
void inverse3 | ( | Matrix< T2 > & | dst | ) |
Computes the inverse of a 3-by-3 matrix.
Abbreviations of this
Transpose of this matrix