#include <MatrixXD.h>
Public Member Functions | |
MatrixXD () | |
Default constructor. | |
~MatrixXD () | |
Default destructor. | |
T & | operator() (int row, int col) |
Element access operator. | |
T ** | get () |
Access data array directly. | |
const T & | operator() (int row, int col) const |
Const element access operator. | |
void | zero () |
Set all elements to zero. | |
void | identity () |
Identity matrix. | |
void | transpose () |
Transpose matrix. | |
void | setToRotation (T angle, T x, T y, T z) |
Similar to glRotate(), sets the matrix to be a rotation of angle radians about the axis given by (x, y, z). | |
void | setToRotation (const Vector3D &p, const Vector3D &q) |
Sets the matrix to be a rotation that takes the point p to q. | |
MatrixXD | operator * (const MatrixXD &other) const |
Matrix-matrix multiplication. | |
MatrixXD & | operator *= (const MatrixXD &other) |
Multiply this matrix with a matrix. | |
MatrixXD | operator * (T scalar) const |
Multiplication by a scalar. | |
MatrixXD & | operator *= (T scalar) |
Multiplication by a scalar. | |
MatrixXD | operator+ (const MatrixXD &other) const |
Addition. | |
MatrixXD & | operator+= (const MatrixXD &other) |
Add a matrix to this matrix. | |
MatrixXD | operator- () const |
Negation. | |
template<class VectorType> | |
VectorType | operator * (const VectorType &vec) const |
Matrix-vector multiplication. | |
T | det () const |
Determinant. | |
T | trace () const |
Trace. | |
T | frobeniusNorm () const |
Frobenius norm. | |
MatrixXD< T, Dim-1 > | submatrix (int r, int c) const |
Submatrix with given row and column removed. | |
template<> | |
void | setToRotation (double angle, double x, double y, double z) |
Definition at line 54 of file MatrixXD.h.