Public Member Functions |
Mat< T, M, N > & | add (const Mat< T, M, N > &m) |
Mat< T, M, N > & | add (const T a) |
int | compareTo (const Mat< T, M, N > &m) const |
SMat< T, N > | covarianceMatrixOfRows () const |
bool | equalTo (const Mat< T, M, N > &m, const T tol=T(0)) const |
Vec< T, M > | getCol (int c) const |
Vec< T, N > | getRow (int r) const |
template<int P, int Q> |
Mat< T, P, Q > | getSubMat (const int i, const int j) |
T | interpolate (const float i, const float j) const |
| Mat () |
| Mat (const T *d) |
| Mat (const T a) |
| Mat (const Mat< T, M, N > &m) |
template<class U > |
| Mat (const Mat< U, M, N > &m) |
Vec< T, N > | meanOfRows () const |
Mat< bool, M, N > | operator!= (const Mat< T, M, N > &m) const |
T | operator() (const int r, const int c) const |
T & | operator() (const int r, const int c) |
Mat< T, M, N > | operator* (const T a) const |
Vec< T, M > | operator* (const Vec< T, N > &v) const |
template<int P> |
Mat< T, M, P > | operator* (const Mat< T, N, P > &m) const |
void | operator*= (const T a) |
void | operator*= (const Mat< T, N, N > &m) |
Mat< T, M, N > | operator+ (const Mat< T, M, N > &m) const |
Mat< T, M, N > | operator+ (const T a) const |
void | operator+= (const Mat< T, M, N > &m) |
void | operator+= (const T a) |
Mat< T, M, N > | operator- (const Mat< T, M, N > &m) const |
Mat< T, M, N > | operator- () const |
Mat< T, M, N > | operator- (const T a) const |
void | operator-= (const Mat< T, M, N > &m) |
void | operator-= (const T a) |
Mat< T, M, N > | operator/ (const T a) const |
void | operator/= (const T a) |
Mat< bool, M, N > | operator< (const Mat< T, M, N > &m) const |
Mat< bool, M, N > | operator<= (const Mat< T, M, N > &m) const |
Mat< T, M, N > & | operator= (const T *d) |
Mat< T, M, N > & | operator= (const T a) |
Mat< T, M, N > & | operator= (const Mat< T, M, N > &m) |
template<class U > |
Mat< T, M, N > & | operator= (const Mat< U, M, N > &m) |
Mat< bool, M, N > | operator== (const Mat< T, M, N > &m) const |
Mat< bool, M, N > | operator> (const Mat< T, M, N > &m) const |
Mat< bool, M, N > | operator>= (const Mat< T, M, N > &m) const |
void | perform (T(*mathFun)(T)) |
bool | read (InputHandler &ih) |
void | set (const T *d) |
void | set (const T a) |
void | set (const Mat< T, M, N > &m) |
template<class U > |
void | set (const Mat< U, M, N > &m) |
void | setCol (const int j, const Vec< T, M > &v) |
void | setRow (const int i, const Vec< T, N > &v) |
template<int P, int Q> |
void | setSubMat (const int r, const int c, const Mat< T, P, Q > &m) |
Mat< T, M, N > & | subtract (const Mat< T, M, N > &m) |
Mat< T, M, N > & | subtract (const T a) |
Vec< T, N > | sum () const |
Mat< T, N, M > | transposed () const |
bool | write (OutputHandler &oh) const |
Static Public Member Functions |
static Mat< T, M, N > | multivariateGauss (const Vec< T, M > &mean, const SMat< T, M > &cov) |
static Mat< T, M, N > | normalRand (const T mean=T(0), const T stdev=T(1)) |
static Mat< T, M, N > | uniformRand (const T a=T(0), const T b=T(1)) |
Public Attributes |
T | x [M *N] |
| storage array
|
template<class T, int M, int N>
class rtc::Mat< T, M, N >
An MxN matrix.
Definition at line 41 of file rtcMat.h.