GIissqr - Maple Help

Online Help

All Products    Maple    MapleSim


GaussInt

  

GIissqr

  

test if a Gaussian integer is a perfect square

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GIissqr(n)

Parameters

n

-

Gaussian integer

Description

• 

The function GIissqr returns a value of true if n is the square of a Gaussian integer, and false otherwise.

Examples

withGaussInt:

GIissqr5+12I

true

(1)

GIissqr7+9I

false

(2)

See Also

GIsqrt