linalg(deprecated)/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


Home : Support : Online Help : linalg(deprecated)/transpose

linalg(deprecated)

  

transpose

  

compute the transpose of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

transpose(A)

Parameters

A

-

m x n matrix or vector

Description

• 

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Transpose], instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The matrix transpose of A is computed.  The result is an n x m matrix. The [i,j]th element of the result is equal to the [j,i]th element of A. The result inherits the indexing function (for example, diagonal or sparse) of A, if it has one.

• 

If A is a vector, then it is treated as if it were a column vector; transpose(A) would therefore be a row vector.

• 

The command with(linalg,transpose) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Transpose], instead.

withlinalg:

Aarray1,2,3,4,5

A12345`?`2,3

(1)

transposeA

14253A2,3

(2)

Barraydiagonal,1..2,1..2,1,1=5

B500`?`2,2

(3)

transposeB

500B2,2

(4)

Carray1,2,3

C123

(5)

CttransposeC

CttransposeC

(6)

evalmC&*Ct

123246369

(7)

evalmCt&*C

14

(8)

See Also

linalg(deprecated)[htranspose]

LinearAlgebra