#include <fixed_general_matrix.h>
Public Member Functions | |
Matrix (Noinit ini) | |
Matrix (Init ini=INIT, const double &a=0) | |
Matrix (Eye ini, const double &a=1) | |
Matrix (int m, int n, Noinit ini) | |
Matrix (int m, int n, Init ini, const double &a=0) | |
Matrix (int m, int n, Eye ini, const double &a=1) | |
Matrix (const Matrix< General, Fixed< M >, Fixed< M >, double > &A) | |
template<class Row > | |
Matrix (const Matrix< Symmetric, Row, Row, double > &A) | |
template<class Type , class Row , class Col > | |
Matrix (const Matrix< Type, Row, Col, double > &A) | |
![]() | |
double & | operator() (int i, int j) |
Standard constructor. More... | |
const double & | operator() (int i, int j) const |
Element operator. More... | |
double & | e (int i, int j) |
const double & | e (int i, int j) const |
int | rows () const |
Number of rows. More... | |
int | cols () const |
Number of columns. More... | |
operator std::vector< std::vector< double > > () | |
Cast to std::vector<std::vector<AT> >. More... | |
A matrix representing a rotation matrix. This class is simply derived from general square matrix from which all member are inherited. We must use this to be able to distinguish it from a general square matrix at compile time. The constructors of general matrix are redefined here since these are not inherited. Moreover we can overload some member functions here which capitalize the special properties of rotation matrices, link "RotMat inv() { return trans(*this); }."