![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
mathematical square matrix class More...
#include <matrix.h>
Public Member Functions | |
| matrix (void) | |
| default constructor creates unity matrix | |
| matrix (const datatype *data) | |
| matrix (const datatype data[size][size]) | |
| matrix (const matrix &right) | |
| copy constructor | |
| matrix & | operator= (const matrix &right) |
| copy assignment operator | |
| vector< datatype, size > | operator* (const vector< datatype, size > &right) const |
| multiplication (matrix times vector) -> vector | |
| vector< datatype, size > | reverse_map (const vector< datatype, size > &right) const |
| multiplication (matrix times vector) -> vector | |
| matrix< datatype, size > | transpose (void) |
| matrix transposition | |
| void | print (void) |
| dump to cout debug helper function | |
Public Attributes | |
| datatype | e [size][size] |
| matrix implementation as 2 dimensional array of datatype | |
mathematical square matrix class
constructor from array data elements are assumed to come line by line
Definition at line 82 of file matrix.h.
References vector< datatype, size >::vector().
constructor from array data elements are assumed to come line by line
Definition at line 74 of file matrix.h.
References vector< datatype, size >::vector().
dump to cout debug helper function
| vector< datatype, size > matrix< datatype, size >::reverse_map | ( | const vector< datatype, size > & | right | ) | const |
multiplication (matrix times vector) -> vector
Definition at line 126 of file matrix.h.
Referenced by AHRS_type::update_ACC_only(), and AHRS_type::update_compass().