PSMoveService
func_matrix.hpp
Go to the documentation of this file.
1 
40 #ifndef GLM_CORE_func_matrix
41 #define GLM_CORE_func_matrix GLM_VERSION
42 
43 namespace glm
44 {
47 
55  template <typename matType>
56  matType matrixCompMult(
57  matType const & x,
58  matType const & y);
59 
70  template <typename vecType, typename matType>
71  matType outerProduct(
72  vecType const & c,
73  vecType const & r);
74 
81  template <typename matType>
82  typename matType::transpose_type transpose(
83  matType const & x);
84 
91  template <typename valType>
92  typename detail::tmat2x2<valType>::value_type determinant(
93  detail::tmat2x2<valType> const & m);
94 
101  template <typename valType>
102  typename detail::tmat3x3<valType>::value_type determinant(
103  detail::tmat3x3<valType> const & m);
104 
111  template <typename valType>
112  typename detail::tmat4x4<valType>::value_type determinant(
113  detail::tmat4x4<valType> const & m);
114 
121  template <typename valType>
122  detail::tmat2x2<valType> inverse(
123  detail::tmat2x2<valType> const & m);
124 
131  template <typename valType>
132  detail::tmat3x3<valType> inverse(
133  detail::tmat3x3<valType> const & m);
134 
141  template <typename valType>
142  detail::tmat4x4<valType> inverse(
143  detail::tmat4x4<valType> const & m);
144 
146 }//namespace glm
147 
148 #include "func_matrix.inl"
149 
150 #endif//GLM_CORE_func_matrix
Definition: _detail.hpp:38
OpenGL Mathematics (glm.g-truc.net)
detail::tmat4x4< valType >::value_type determinant(detail::tmat4x4< valType > const &m)
Return the determinant of a mat4 matrix.
detail::tmat4x4< valType > inverse(detail::tmat4x4< valType > const &m)
Return the inverse of a mat4 matrix.
matType outerProduct(vecType const &c, vecType const &r)
Treats the first parameter c as a column vector and the second parameter r as a row vector and does a...
matType::transpose_type transpose(matType const &x)
Returns the transposed matrix of x.
matType matrixCompMult(matType const &x, matType const &y)
Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and...
Definition: func_matrix.inl:36