Helper struct for various algorithms.
Just for internal use!
Static Public Member Functions | |
| template<std::size_t N> | |
| static T | det (const T(&m)[N][N]) |
| calculates the determinant of the matrix | |
| static T | det (const T(&m)[2][2]) |
| static T | det (const T(&m)[3][3]) |
| static T | det (const T(&m)[4][4]) |
| template<std::size_t N> | |
| static void | invert (const T(&m)[N][N], T(&out)[N][N]) |
| calculates the inverted matrix and writes it to out More... | |
| static void | invert (const T(&m)[2][2], T(&out)[2][2]) |
| static void | invert (const T(&m)[3][3], T(&out)[3][3]) |
| static void | invert (const T(&m)[4][4], T(&out)[4][4]) |
| template<std::size_t R, std::size_t C> | |
| static void | transpose (const T(&m)[R][C], const T(&out)[C][R]) |
| Transposes the matrix m and writes result into out. | |
|
static |
calculates the inverted matrix and writes it to out
| m | matrix to invert |
| out | out-parameter for inverted matrix |