core_func_matrix Module Reference
Provides GLSL matrix functions.
Include < glm/matrix.hpp > to use these core features.
Public Member Functions

GLM_FUNC_DECL mat< C, R, T, Q >matrixCompMult (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Multiply matrix x by matrix y componentwise, i.e., result[i][j] is the scalar product of x[i][j] and y[i][j].
C
Integer between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloatingpoint or signed integer scalar types
QValue from qualifier enum
 See Also
 See Also

GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::typeouterProduct (vec< C, T, Q > const &c, vec< R, T, Q > const &r)
Treats the first parameter c as a column vector and the second parameter r as a row vector and does a linear algebraic matrix multiply c * r.
C
Integer between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloatingpoint or signed integer scalar types
QValue from qualifier enum
 See Also
 See Also

GLM_FUNC_DECL mat< C, R, T, Q >::transpose_typetranspose (mat< C, R, T, Q > const &x)
Returns the transposed matrix of x
C
Integer between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloatingpoint or signed integer scalar types
QValue from qualifier enum
 See Also
 See Also

GLM_FUNC_DECL Tdeterminant (mat< C, R, T, Q > const &m)
Return the determinant of a squared matrix.
C
Integer between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloatingpoint or signed integer scalar types
QValue from qualifier enum
 See Also
 See Also

GLM_FUNC_DECL mat< C, R, T, Q >inverse (mat< C, R, T, Q > const &m)
Return the inverse of a squared matrix.
C
Integer between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloatingpoint or signed integer scalar types
QValue from qualifier enum
 See Also
 See Also