Sample of program breaking when a certain set of source files are in a folder, but is fine when it is in the root. In this case, it is tested with RF12B.cpp, RF12B.h and rfdefs
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 102 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 Fri Jul 29 2022 06:49:56 by 1.7.2