polytools(deprecated)/recipoly - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : polytools(deprecated)/recipoly

polytools

  

recipoly

  

determine whether a polynomial is self-reciprocal

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

recipoly(a, x)

recipoly(a, x, 'p')

Parameters

a

-

expression

x

-

indeterminate

p

-

(optional) name

Description

• 

Important: The polytools package has been deprecated. Use the superseding command PolynomialTools[IsSelfReciprocal] instead.

• 

Determine whether a is a ``self-reciprocal'' polynomial in x. This property holds if and only if coeffa,x,k=coeffa,x,dk for all k=0..d, where d=degreea,x.

• 

If d is even and if the optional second argument p is specified, p is assigned the polynomial P of degree d2 such that xd2Px+1x=a.

• 

Note that if d is odd, a being self-reciprocal implies a is divisible by x+1. In this case, if p is specified then the result computed is for ax+1.

Examples

Important: The polytools package has been deprecated. Use the superseding command PolynomialTools[IsSelfReciprocal] instead.

withpolytools

minpoly,recipoly,shorten,sort_poly,split,splits,translate

(1)

recipolyx4+x3+x+1,x,p

true

(2)

p

x2+x2

(3)

recipolyx53x4+x3+x23x+1,x,p

true

(4)

p

x24x+3

(5)

See Also

PolynomialTools[IsSelfReciprocal]