Function navtk::is_symmetric
Defined in File inspect.hpp
Function Documentation
-
bool navtk::is_symmetric(const Matrix &mat, double rtol = 1e-5, double atol = 1e-8)
- Parameters
mat – The matrix whose symmetry is evaluated.
rtol – Relative tolerance allowed between 2 elements; unitless.
atol – Absolute tolerance allowed between 2 elements; units determined by elements being compared.
- Returns
trueifmatis symmetric within a tolerance andfalseotherwise. Does not check if square.