Mjolnir Core
Core functionality of the Mjolnir API

◆ determinant_4x4() [1/2]

auto determinant_4x4 ( const std::array< T_RegisterType, 4 > &  mat) -> x86::ElementType<T_RegisterType>
inlinenoexcept

Calculate the determinant of a 4x4 matrix.

Template Parameters
T_RegisterTypeVector register type that represents a row or column of the matrix
Parameters
[in]matThe matrix data as array in row-major or column-major format. Each register represents a single row/column
Returns
Determinant of the matrix