Math.MatMul¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
Takes a matrix as input. (2x2, 3x3 or 4x4) | [Float4] [Float3] [Float2] |
||
Output ➡️ |
Returns the result of the matrix multiplication. If a matrix is multiplied by a vector, the result is a vector (depending on the dimensions of the matrix provided). If two matrices are multiplied, the result is a matrix with the same dimensions as the input matrix. | [Float4] Float4 [Float3] Float3 [Float2] Float2 |
||
Operand |
No | The operand for this operation. | 0 |
Int &Int Int2 &Int2 Int3 &Int3 Int4 &Int4 Int8 &Int8 Int16 &Int16 Float &Float Float2 &Float2 Float3 &Float3 Float4 &Float4 Color &Color [Any] &[Any] |
Performs matrix multiplication on either two matrices or a matrix and a vector and returns either a matrix or a vector accordingly. The two matrixes must be of similar dimensions (2x2, 3x3, or 4x4). And if multiplied with a vector, the vector too must have similar dimensions (2x2 with float2, 3x3 with float3, 4x4 with float4).