matrixTranspose: Difference between revisions

From Bohemia Interactive Community
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{{wip}} |Description=
| Returns transposed input matrix |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |Example 1=
|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]] &#x5b;[1,2,3]]; // returns [[1], [2], [3]]</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 02:25, 30 June 2019

Hover & click on the images for description

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

Bottom Section