matrixTranspose: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <!-- BEGIN Note Section --> <!-- For example: <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> <dt class="note">User Name</dt> <dd class="note">This is an example n...)
m (Text replacement - "\|(arg|eff|serverExec|mp|seealso)= " to "")
Line 4: Line 4:


|1.92
|1.92
|arg=
|eff=
|serverExec=


|gr1= Math
|gr1= Math

Revision as of 21:02, 21 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
MathMath - Vectors

Syntax

Syntax:
Syntax needed
Parameters:
matrix: Array - given matrix
Return Value:
Return value needed

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] ] */
Example 3:
matrixTranspose [ [1], [2], [3] ]; /* returns [ [1,2,3] ] */

Additional Information

See also:
matrixMultiplyvectorAddvectorMagnitudevectorNormalizedvectorMultiplyvectorDotProductvectorCrossProductvectorDistancevectorLinearConversionvectorCosvectorFromTovectorModelToWorldvectorWorldToModel

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