numtheory/rootsunity(deprecated) - Help

Online Help

All Products    Maple    MapleSim


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

numtheory

  

rootsunity

  

roots of unity

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rootsunity(p, r)

Parameters

p

-

prime

r

-

integer

Description

• 

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

• 

This function will calculate all the pth roots of unity mod r and return the result as an expression sequence.

• 

The order, p, of the root must be prime.

• 

Note that there will always be at least the root 1.

• 

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

Examples

withnumtheory:

rootsunity5,11

1,3,4,5,9

(1)

rootsunity3,11

1

(2)

See Also

numtheory[cyclotomic]

 


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