Assignments
Assignments
|
#include <geometry.h>
Public Member Functions | |
Matrix (void) | |
template<unsigned int _Cols> | |
Matrix< Rows, _Cols > | operator* (const Matrix< Cols, _Cols > &m) const |
Public Member Functions inherited from Util::_BaseMatrix< Rows, Cols, Matrix< Rows, Cols >, Matrix< Cols, Rows > > | |
_BaseMatrix (void) | |
double & | operator() (int r, int c) |
const double & | operator() (int r, int c) const |
Matrix< Cols, Rows > | transpose (void) const |
Point< Rows > | operator* (const Point< Cols > &p) const |
Matrix< Rows, Cols > | operator* (double s) const |
Matrix< Rows, Cols > | operator+ (const Matrix< Rows, Cols > &m) const |
double | dot (const _BaseMatrix &p) const |
Additional Inherited Members | |
Private Member Functions inherited from Util::_InnerProductSpace< Element > | |
double | squareNorm (void) const |
double | length (void) const |
Element | unit (void) const |
Static Private Member Functions inherited from Util::_InnerProductSpace< Element > | |
static double | Dot (const Element &e1, const Element &e2) |
static double | SquareNorm (const Element &e) |
static double | Length (const Element &e) |
static double | SquareDistance (const Element &e1, const Element &e2) |
static double | Distance (const Element &e1, const Element &e2) |
This templated class represents a Rows x Cols matrix. Matrices are stored in row-major order.
Util::Matrix< Rows, Cols >::Matrix | ( | void | ) |
The default constructor that initializes the matrix to zero.
Matrix< Rows, _Cols > Util::Matrix< Rows, Cols >::operator* | ( | const Matrix< Cols, _Cols > & | m | ) | const |
Multiplication of matrices