Mathter
A configurable 3D math library for game developers.
Namespaces | Functions
MatrixFunction.hpp File Reference
#include "MatrixImpl.hpp"

Go to the source code of this file.

Namespaces

 mathter
 

Functions

template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
mathter::Trace (const Matrix< T, Dim, Dim, Order, Layout, Packed > &m)
 Returns the trace (sum of diagonal elements) of the matrix. More...
 
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
mathter::Determinant (const Matrix< T, Dim, Dim, Order, Layout, Packed > &m)
 Returns the determinant of the matrix. More...
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
Matrix< T, Columns, Rows, Order, Layout, Packed > mathter::Transpose (const Matrix< T, Rows, Columns, Order, Layout, Packed > &m)
 Transposes the matrix in-place. More...
 
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
Matrix< T, Dim, Dim, Order, Layout, Packed > mathter::Inverse (const Matrix< T, Dim, Dim, Order, Layout, Packed > &m)
 Returns the inverse of the matrix. More...
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
mathter::NormSquared (const Matrix< T, Rows, Columns, Order, Layout, Packed > &m)
 Calculates the square of the Frobenius norm of the matrix. More...
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
mathter::Norm (const Matrix< T, Rows, Columns, Order, Layout, Packed > &m)
 Calculates the Frobenius norm of the matrix. More...