Mjolnir Core
Core functionality of the Mjolnir API

◆ determinant_4x4() [2/2]

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

Calculate the determinant of a 4x4 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