Transpose - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LinearAlgebra[Modular]

  

Transpose

  

compute the transpose of a mod m Matrix or Vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Transpose(m, A, inplace)

Parameters

m

-

modulus

A

-

mod m Matrix or Vector

inplace

-

(optional) keyword for inplace operation on square Matrix

Description

• 

The Transpose function returns the transpose of the input mod m Matrix or Vector.

  

It uses the more flexible mod m Copy function to compute the transpose.

• 

If A is a square Matrix, the transpose can be performed in-place.

• 

This command is part of the LinearAlgebra[Modular] package, so it can be used in the form Transpose(..) only after executing the command with(LinearAlgebra[Modular]).  However, it can always be used in the form LinearAlgebra[Modular][Transpose](..).

Examples

withLinearAlgebraModular:

p97

p97

(1)

MModp,Matrix3,4,i,jrand,integer

M779610865836802244396039

(2)

Transposep,M

775844963639108060862239

(3)

V1Modp,Vectorrow3,irand,float8

V143.12.55.

(4)

Transposep,V1

43.12.55.

(5)

V2Modp,Vectorcolumn3,irand,float8

V22.24.71.

(6)

Transposep,V2

2.24.71.

(7)

Copyp,V2,transpose

2.24.71.

(8)

Multiplyp,Transposep,V2,V2

92.

(9)

MCreatep,3,3,random,integer

M4387658150697638

(10)

Transposep,M,inplace:

M

4358698157676038

(11)

See Also

LinearAlgebra/Details

LinearAlgebra[Modular]

LinearAlgebra[Modular][Copy]

LinearAlgebra[Modular][Create]

LinearAlgebra[Modular][Mod]

LinearAlgebra[Modular][Multiply]