numtheory(deprecated)/iscyclotomic - Maple Help

Online Help

All Products    Maple    MapleSim


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

numtheory(deprecated)

  

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 package 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

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

withnumtheory:

mcyclotomic10,x

mx4x3+x2x+1

(1)

iscyclotomicm,x,n

true

(2)

n

10

(3)

fx5+x4+x3+x2+x+1

fx5+x4+x3+x2+x+1

(4)

iscyclotomicf,x

false

(5)

See Also

NumberTheory[IsCyclotomicPolynomial]

numtheory

numtheory(deprecated)[cyclotomic]

numtheory(deprecated)[phi]