![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
A MATLAB Coder helper function for calculating the inverse of a 3x3 matrix. More...


Go to the source code of this file.
Functions | |
| void | mpower (const double a[9], double c[9]) |
| Calculates the inverse of a 3x3 matrix. | |
A MATLAB Coder helper function for calculating the inverse of a 3x3 matrix.
This auto-generated helper file from MATLAB Coder provides a C equivalent of MATLAB's mpower(A, -1) or inv(A) for a 3x3 matrix. It contains the necessary logic to perform matrix inversion.
This function is used as a low-level utility within more complex control algorithms, such as the MEKF, to handle linear algebra operations.
Definition in file mpower.h.
| void mpower | ( | const double | a[9], |
| double | c[9] | ||
| ) |
Calculates the inverse of a 3x3 matrix.
| [in] | a | A 9-element array representing the input 3x3 matrix (row-major). |
| [out] | c | A 9-element array where the resulting inverse matrix will be stored. |
Definition at line 24 of file mpower.c.
Referenced by mekf().
