determinant - OpenGL ES 3.1 Reference Pages

## Name

determinant — calculate the determinant of a matrix

## Declaration

`float determinant(` | mat2 m`)`;

`float determinant(` | mat3 m`)`;

`float determinant(` | mat4 m`)`;

## Parameters

`m`

  Specifies the matrix of which to take the determinant.

## Description

`determinant` returns the determinant of the matrix `m`.

## Version Support

| OpenGL ES Shading Language Version
--- | ---
Function Name | 1.00 | 3.00 | 3.10
determinant (float) | - | ✔ | ✔

## See Also

transpose, inverse

## Copyright

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/.