m2_transpose
m2_transpose(out, m) ⇒ Array.<number>
Transposes a 2x2 matrix, stored in a flattened array.
Kind: global function
Returns: Array.<number> - The out parameter.
| Param | Type | Description |
|---|---|---|
| out | Array.<number> | Output: The transposed matrix. Can be the same array as m. |
| m | Array.<number> | Input: The 2x2 matrix to transpose, stored as a flattened array [a, b, c, d], representing [[a, c], [b, d]]. |