ListTools[Transpose] - transpose a list of lists (as if it were a matrix)
|
Calling Sequence
|
|
Transpose(L)
|
|
Parameters
|
|
L
|
-
|
list of lists (type listlist)
|
|
|
|
|
Description
|
|
•
|
The Transpose(L) function transposes a list of lists as if it were a matrix.
|
|
Note: Within a procedure, it is likely that changing the indices is more efficient than creating a new transposed list of lists. Therefore, procedure Transpose should only be used for modifying lists of lists that need to be returned in transposed form.
|
•
|
In the special case where the argument is of type , is returned.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?