Name

transpose — calculate the transpose of a matrix

Declaration

mat2 transpose(mat2 m);
 
mat3 transpose(mat3 m);
 
mat4 transpose(mat4 m);
 
mat2x3 transpose(mat3x2 m);
 
mat2x4 transpose(mat4x2 m);
 
mat3x2 transpose(mat2x3 m);
 
mat3x4 transpose(mat4x3 m);
 
mat4x2 transpose(mat2x4 m);
 
mat4x3 transpose(mat3x4 m);
 

Parameters

m

Specifies the matrix of which to take the transpose.

Description

transpose returns the transpose of the matrix m.

Version Support

OpenGL ES Shading Language Version
Function Name 1.00 3.00
transpose (float)-

See Also

determinant, inverse

Copyright

Copyright © 2011-2013 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.