matrixTranspose: Difference between revisions
Jump to navigation
Jump to search
(WIP - someone who has knowledge of this please write more information) |
No edit summary |
||
Line 13: | Line 13: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns transposed input matrix | | Returns transposed input matrix |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> | | |x1= <code>[[matrixTranspose]] [[1,2,3], [3,1,2], [2,3,1]]; // returns [[1,3,2], [2,1,3], [3,2,1]]</code> |EXAMPLE1= | ||
|x2= <code>[[matrixTranspose]] [[1,2,3]]; // returns [[1], [2], [3]]</code> |EXAMPLE2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 02:25, 30 June 2019
Description
- Description:
- Returns transposed input matrix
- Multiplayer:
- -
- Groups:
- Uncategorised
Syntax
- Syntax:
- matrixTranspose matrix
- Parameters:
- matrix: Array
- Return Value:
- Array
Examples
- Example 1:
matrixTranspose [[1,2,3], [3,1,2], [2,3,1]]; // returns [[1,3,2], [2,1,3], [3,2,1]]
- Example 2:
matrixTranspose [[1,2,3]]; // returns [[1], [2], [3]]
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note