![]() |
VR-Forces 4.6.1 Class Documentation
|
n dimensional matrix More...
Public Member Functions | |
| Matrix (size_t numRows, size_t numCols) | |
| virtual | ~Matrix () |
| std::vector< T > & | operator[] (size_t row) |
| const std::vector< T > & | operator[] (size_t row) const |
| Matrix | operator* (const Matrix &rhsMatrix) const |
| size_t | getNumRows (void) const |
| size_t | getNumCols (void) const |
| size_t | getNumElements (void) const |
Private Attributes | |
| std::vector< std::vector< T > > | myElements |
n dimensional matrix
| makVrv::Matrix< T >::Matrix | ( | size_t | numRows, |
| size_t | numCols | ||
| ) |
References Assert.
|
virtual |
| std::vector< T > & makVrv::Matrix< T >::operator[] | ( | size_t | row | ) |
| const std::vector< T > & makVrv::Matrix< T >::operator[] | ( | size_t | row | ) | const |
| Matrix< T > makVrv::Matrix< T >::operator* | ( | const Matrix< T > & | rhsMatrix | ) | const |
References Assert, makVrv::Matrix< T >::getNumCols(), and makVrv::Matrix< T >::getNumRows().
| size_t makVrv::Matrix< T >::getNumRows | ( | void | ) | const |
Referenced by makVrv::Matrix< T >::getNumElements(), and makVrv::Matrix< T >::operator*().
| size_t makVrv::Matrix< T >::getNumCols | ( | void | ) | const |
Referenced by makVrv::Matrix< T >::getNumElements(), and makVrv::Matrix< T >::operator*().
|
inline |
References makVrv::Matrix< T >::getNumCols(), and makVrv::Matrix< T >::getNumRows().
|
private |