Mjolnir Core
Core functionality of the Mjolnir API

◆ determinant_3x3() [1/2]

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

Calculate the determinant of a 3x3 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