numtheory/iscyclotomic(deprecated) - Help

Online Help

All Products    Maple    MapleSim


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

numtheory

  

iscyclotomic

  

test if a polynomial is cyclotomic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

iscyclotomic(m, x)

iscyclotomic(m, x, 'n')

Parameters

m

-

polynomial in x over the rationals

x

-

name

n

-

(optional) name for the output of the order of the polynomial, if cyclotomic

Description

• 

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

• 

The iscyclotomic(m, x) calling sequence returns true if m(x) is a cyclotomic polynomial, and false otherwise.

• 

The iscyclotomic(m, x, 'n') calling sequence also assigns the order of the cyclotomic polynomial to n when the function returns true.

• 

This function is part of the numtheory package, and so can be used in the form iscyclotomic(..) only after executing the command with(numtheory) or with(numtheory,iscyclotomic). The function can always be accessed in the long form numtheory[iscyclotomic](..).

Examples

withnumtheory:

mcyclotomic10,x

m:=x4x3+x2x+1

(1)

iscyclotomicm,x,'n'

true

(2)

n

10

(3)

fx5+x4+x3+x2+x+1

f:=x5+x4+x3+x2+x+1

(4)

iscyclotomicf,x

false

(5)

See Also

numtheory

numtheory[cyclotomic]

numtheory[phi]

 


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