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

Online Help

Home : Support : Online Help : GaussInt/GImod

GaussInt

  

GImod

  

Gaussian integer modular arithmetic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GImod(a, m)

Parameters

a

-

Gaussian integer or polynomial with Gaussian integer coefficients, or a set or list of these

m

-

Gaussian integer

Description

• 

GImod(a, m), where a is a Gaussian integer, computes the Gaussian integer remainder of a divided by m.

• 

GImod(a, m), where a is a polynomial with Gaussian integer coefficients, reduces the coefficients mod m.

• 

To compute GImod(a^n, m), where a is a Gaussian integer and n is a positive integer, without first computing a^n, use the inert powering operator, &^: GImod(a &^ n, m).

• 

To compute GImod(a^(-1), m), where a is a Gaussian integer, use the form GImod(inv(a), m).

• 

GImod(a, m) = GImod~(a, m) if a is a set or list, where ~ is the elementwise operator.

Examples

(1)

(2)

(3)

(4)

(5)

See Also

GaussInt,GIquo

GaussInt,GIrem

mod

syntax

 


Download Help Document