GIissqr - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

with⁡GaussInt:

> 

GIissqr⁡−5+12⁢I

true

(1)
> 

GIissqr⁡7+9⁢I

false

(2)

See Also

GIsqrt