Inverse - Maple Help

Online Help

All Products    Maple    MapleSim


Inverse

inert matrix inverse

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Inverse(A) mod n

Parameters

A

-

Matrix

n

-

integer, the modulus

Description

• 

The Inverse function is a placeholder for representing the inverse of a square matrix A.

• 

The call Inverse(A) mod n computes the inverse of the square matrix A over a finite ring of characteristic n. This includes finite fields, GF(p), the integers mod p, and GF(p^k) where elements of GF(p^k) are expressed as polynomials in RootOf's.

Examples

AMatrix1,2,3,1,3,0,1,4,3

A123130143

(1)

BInverseAmod5

B411203131

(2)

`~`ExpandA·Bmod5

100010001

(3)

The matrix A is singular mod 2:

InverseAmod2

Error, (in `mod/Inverse`) singular matrix

aliasa=RootOfx4+x+1mod2:

AMatrix1,a,a2,1,a2,1,1,a3,a2

A1aa21a211a3a2

(4)

BInverseAmod2

Ba2+aa3+aa3+a2+1a3+a20a3+a2a+1a3+a+1a3

(5)

`~`ExpandA·Bmod2

100010001

(6)

See Also

Det

Gaussjord

LinearAlgebra[MatrixInverse]

LinearAlgebra[Modular]

LinearAlgebra[Modular][Inverse]

Linsolve

mod