Light | Dark

determinant

Name

determinant — calculate the determinant of a matrix

Declaration

float determinant( mat2 m);
float determinant( mat3 m);
float determinant( mat4 m);
double determinant( dmat2 m);
double determinant( dmat3 m);
double determinant( dmat4 m);

Parameters

m

Specifies the matrix of which to take the determinant.

Description

determinant returns the determinant of the matrix m.

Version Support

OpenGL Shading Language Version
Function Name 1.10 1.20 1.30 1.40 1.50 3.30 4.00 4.10 4.20 4.30 4.40 4.50
determinant (float) - - - -
determinant (double) - - - - - -

See Also

transpose, inverse

Think you can improve this page? Edit this page on GitHub.