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

Online Help

All Products    Maple    MapleSim


GaussInt

  

GIfactors

  

Gaussian integer factorization

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GIfactors(n)

Parameters

n

-

Gaussian integer

Description

• 

The GIfactors function returns the Gaussian integer factorization of the Gaussian integer n.

• 

The result is returned in the form [u,[[p1,ⅇ1],...,[pm,ⅇm]] where n=up1ⅇ1...pmⅇm, pi is a primary prime integer, ei is its exponent (multiplicity) and u is one of four units.

Examples

withGaussInt:

GIfactors0

0,

(1)

GIfactors72+100I

−I,1+I,4,−32I,1,−3+8I,1

(2)

GIfactors1574+368I

I,1+I,2,1+2I,2,14I,1,52I,1,−7+2I,1

(3)

See Also

GIfacset

GIfactor