determinant

From OpenGL Reference
Jump to navigation Jump to search

Calculate the determinant of a matrix.

Declaration[edit]

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[edit]

m - Specifies the matrix of which to take the determinant.


Description[edit]

 determinant returns the determinant of the matrix m .


Version Support[edit]

determinant (float) 1.5+
determinant (double) 4.0+

See Also[edit]

 transpose , inverse 


Copyright[edit]

Copyright© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.