40 #ifndef GLM_CORE_func_matrix
41 #define GLM_CORE_func_matrix
44 #include "../detail/precision.hpp"
45 #include "../detail/setup.hpp"
59 template <
typename T, precision P,
template <
typename, precision>
class matType>
60 GLM_FUNC_DECL matType<T, P>
matrixCompMult(matType<T, P>
const & x, matType<T, P>
const & y);
72 template <
typename T, precision P,
template <
typename, precision>
class vecTypeA,
template <
typename, precision>
class vecTypeB>
73 GLM_FUNC_DECL
void outerProduct(vecTypeA<T, P>
const & c, vecTypeB<T, P>
const & r);
81 # if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC11))
82 template <
typename T, precision P,
template <
typename, precision>
class matType>
83 GLM_FUNC_DECL
typename matType<T, P>::transpose_type transpose(matType<T, P>
const & x);
92 template <
typename T, precision P,
template <
typename, precision>
class matType>
93 GLM_FUNC_DECL T
determinant(matType<T, P>
const & m);
101 template <
typename T, precision P,
template <
typename, precision>
class matType>
102 GLM_FUNC_DECL matType<T, P>
inverse(matType<T, P>
const & m);
107 #include "func_matrix.inl"
109 #endif//GLM_CORE_func_matrix
GLM_FUNC_DECL void outerProduct(vecTypeA< T, P > const &c, vecTypeB< T, P > const &r)
Treats the first parameter c as a column vector and the second parameter r as a row vector and does a...
GLM_FUNC_DECL T determinant(matType< T, P > const &m)
Returns the transposed matrix of x.
GLM_FUNC_DECL matType< T, P > inverse(matType< T, P > const &m)
Return the inverse of a squared matrix.
GLM_FUNC_DECL matType< T, P > matrixCompMult(matType< T, P > const &x, matType< T, P > const &y)
Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and...