Skip to content

Math.Transpose

Name Mandatory Description Default Type
⬅️ Input Takes a matrix (sequence of float2, float3, or float4 vectors) as input. [Float4][Float3][Float2]
Output ➡️ Returns the transposed the matrix. [Float4][Float3][Float2]

Performs matrix transposition on the input matrix. Transposition flips the matrix over its main diagonal, switching its rows and columns. This shard supports 2x2, 3x3, and 4x4 as input matrices. A 4x4 matrix is a sequence with exactly 4 float4 vectors, a 3x3 matrix is a sequence with exactly 3 float3 vectors, and a 2x2 matrix is a sequence with exactly 2 float2 vectors.