Aurora Visio Studio TOP » Filter Reference » Array » Array Transforms » TransposeArrayArray

TransposeArrayArray


Module: FoundationLite

Transposes a matrix represented as an array of arrays.

Name Type Description
Input value
inArrayArray <T>ArrayArray Input array
Output value
outArrayArray <T>ArrayArray Output array

Examples

inArrayArray = { {1, 2, 3}, {5, 6, 7} }
outArrayArray = { {1, 5}, {2, 6}, {3, 7} }

Remarks

Inner arrays (i.e. columns) have to be of equal size.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Inconsistent array lengths in TransposeArrayArray.

Complexity Level

This filter is available on Advanced Complexity Level.