Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MatrixMath Class Reference
This class provides STATIC methods to preform operations over Matrix Objects version 0.8. More...
#include <MatrixMath.h>
Static Public Member Functions | |
| static Matrix | Transpose (const Matrix &Mat) |
| Transposes Matrix, return new Object. | |
| static Matrix | Inv (const Matrix &Mat) |
| Calculate the inverse of a nxn Matrix BUT check first if the determinant is != 0. | |
| static float | det (const Matrix &Mat) |
| Calculates the determinant of a Matrix. | |
Detailed Description
This class provides STATIC methods to preform operations over Matrix Objects version 0.8.
Methods will be added as neccesary.
Definition at line 27 of file MatrixMath.h.
Member Function Documentation
| float det | ( | const Matrix & | Mat ) | [static] |
Calculates the determinant of a Matrix.
- Parameters:
-
Mat matrix to calculate.
- Returns:
- the determinant.
Definition at line 100 of file MatrixMath.cpp.
Calculate the inverse of a nxn Matrix BUT check first if the determinant is != 0.
Same matrix will be return if Det( Mat ) == 0.
- Parameters:
-
Mat matrix to calcute inverse.
- Returns:
- Matrix Inverse
Definition at line 25 of file MatrixMath.cpp.
Transposes Matrix, return new Object.
Transpose matrix.
- Parameters:
-
Mat matrix to calculate
- Returns:
- the determinant
Definition at line 14 of file MatrixMath.cpp.
Generated on Wed Jul 13 2022 22:04:07 by
1.7.2