logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

transpose - calculate the transpose of a matrix

Declaration

mat2transpose(mat2m);mat3transpose(mat3m);mat4transpose(mat4m);mat2x3transpose(mat3x2m);mat2x4transpose(mat4x2m);mat3x2transpose(mat2x3m);mat3x4transpose(mat4x3m);mat4x2transpose(mat2x4m);mat4x3transpose(mat3x4m);dmat2transpose(dmat2m);dmat3transpose(dmat3m);dmat4transpose(dmat4m);dmat2x3transpose(dmat3x2m);dmat2x4transpose(dmat4x2m);dmat3x2transpose(dmat2x3m);dmat3x4transpose(dmat4x3m);dmat4x2transpose(dmat2x4m);dmat4x3transpose(dmat3x4m);

Description

transpose returns the transpose of the matrix m.

Name

       transpose - calculate the transpose of a matrix

Parameters

m
           Specifies the matrix of which to take the transpose.

See Also

determinant(), inverse()

Version Support

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

See Also