Function navtk::inverse
Defined in File linear_algebra.hpp
Function Documentation
-
Matrix navtk::inverse(const Matrix &m)
Returns the matrix inverse of
m.- Parameters
m – Input Matrix.
- Throws
std::runtime_error – if ErrorMode::DIE and matrix is not invertible.
- Returns
Inverse of
m. If matrix is not invertible, will log or throw depending on navtk::ErrorMode setting, and will return a zero filled matrix the same size asmif non-throwing.