Transpose - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ListTools

  

Transpose

  

transpose a list of lists (as if it were a matrix)

 

Calling Sequence

Parameters

Description

Examples

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 list,  is returned.

Examples

withListTools:

L1,2,3,a,b,c,X,Y,Z

L1,2,3,a,b,c,X,Y,Z

(1)

L1,2

2

(2)

L2,1

a

(3)

RTransposeL

R1,a,X,2,b,Y,3,c,Z

(4)

R1,2

a

(5)

Transpose,,

(6)

See Also

inline

LinearAlgebra[Transpose]

ListTools

type[listlist]