Mjolnir Core
Core functionality of the Mjolnir API

◆ determinant_3x3() [2/2]

constexpr auto determinant_3x3 ( const std::array< T_Type, 9 > &  mat) -> T_Type
constexprnoexcept

Calculate the determinant of a 3x3 matrix.

Template Parameters
T_TypeThe type of the matrix elements and the returned value
Parameters
[in]matThe matrix data as array in row-major or column-major format
Returns
Determinant of the matrix