numtheory/imagunit(deprecated) - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : numtheory/imagunit(deprecated)

numtheory

  

imagunit

  

square root of -1 mod n

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

imagunit(n)

Parameters

n

-

integer

Description

• 

Important: The numtheory[imagunit] command has been deprecated.  Use the superseding command NumberTheory[ImaginaryUnit] instead.

• 

The function imagunit will find a square root of 1modn, if possible, otherwise it returns FAIL.

• 

The command with(numtheory,imagunit) allows the use of the abbreviated form of this command.

Examples

withnumtheory:

imagunit5

2

(1)

imagunit7

FAIL

(2)

See Also

msolve

numtheory[mroot]

numtheory[msqrt]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam