|
IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
generalized matrix helper class useful for where the Orbiter API stops More...
Public Member Functions | |
| IMS_Matrix (unsigned int n, unsigned int m) | |
| IMS_Matrix (unsigned int n, unsigned int m, std::initializer_list< T > init) | |
| unsigned int | numRows () const |
| unsigned int | numCols () const |
| std::string | toString () const |
| const IMS_Matrix< T > | makePositive () const |
| const IMS_Matrix< T > | transpose () const |
| const IMS_Matrix< T > | augment_right (const IMS_Matrix< T > &rhs) const |
| const IMS_Matrix< T > | gaussianEliminate () const |
| IMS_Matrix< T > & | swapRowOp (unsigned int firstRow, unsigned int secondRow) |
| IMS_Matrix< T > & | replacementRowOp (unsigned int firstRow, unsigned int secondRow, T scaleFactor) |
| IMS_Matrix< T > & | scaleRowOp (unsigned int row, T scaleFactor) |
| IMS_Matrix< T > & | operator= (const IMS_Matrix< T > &rhs) |
| IMS_Matrix< T > & | operator+= (const IMS_Matrix< T > &rhs) |
| IMS_Matrix< T > & | operator-= (const IMS_Matrix< T > &rhs) |
| IMS_Matrix< T > & | operator*= (const IMS_Matrix< T > &rhs) |
| const IMS_Matrix< T > | operator* (const IMS_Matrix< T > &rhs) const |
| bool | operator== (const IMS_Matrix< T > &other) const |
| bool | operator!= (const IMS_Matrix< T > &other) const |
| T | operator() (unsigned int x, unsigned int y) const |
| T & | operator() (unsigned int x, unsigned int y) |
Private Attributes | |
| unsigned int | rows |
| unsigned int | cols |
| std::vector< T > | data |
generalized matrix helper class useful for where the Orbiter API stops