compute the transpose of a mod m Matrix or Vector - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : Modular Subpackage : LinearAlgebra/Modular/Transpose

LinearAlgebra[Modular][Transpose] - compute the transpose of a mod m Matrix or Vector

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

withLinearAlgebra[Modular]:

p:=97

p:=97

(1)

M:=Modp,Matrix3,4,i,j→rand,integer[]

M:=779610865836802244396039

(2)

Transposep,M

775844963639108060862239

(3)

V1:=Modp,Vectorrow3,i→rand,float8

V1:=43.12.55.

(4)

Transposep,V1

43.12.55.

(5)

V2:=Modp,Vectorcolumn3,i→rand,float8

V2:=2.24.71.

(6)

Transposep,V2

2.24.71.

(7)

Copyp,V2,'transpose'

2.24.71.

(8)

Multiplyp,Transposep,V2,V2

92.

(9)

M:=Createp,3,3,random,integer

M:=4387658150697638

(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]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam