Provided by: opengl-4-man-doc_1.0~svn33624-1_all bug

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);

       dmat2 transpose(dmat2 m);

       dmat3 transpose(dmat3 m);

       dmat4 transpose(dmat4 m);

       dmat2x3 transpose(dmat3x2 m);

       dmat2x4 transpose(dmat4x2 m);

       dmat3x2 transpose(dmat2x3 m);

       dmat3x4 transpose(dmat4x3 m);

       dmat4x2 transpose(dmat2x4 m);

       dmat4x3 transpose(dmat3x4 m);

PARAMETERS

       m
           Specifies the matrix of which to take the transpose.

DESCRIPTION

       transpose returns the transpose of the matrix m.

VERSION SUPPORT

       ┌───────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │           │        OpenGL Shading Language Version                                            │
       ├───────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │ Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │ Name      │      │      │      │      │      │      │      │      │      │      │      │      │
       ├───────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │ transpose │  -   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │
       │ (float)   │      │      │      │      │      │      │      │      │      │      │      │      │
       ├───────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │ transpose │  -   │  -   │  -   │  -   │  -   │  -   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │
       │ (double)  │      │      │      │      │      │      │      │      │      │      │      │      │
       └───────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

SEE ALSO

       determinant(), 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/.

COPYRIGHT

       Copyright © 2011-2014 Khronos Group

[FIXME: source]                                    01/03/2018                                      TRANSPOSE(3G)