coeffs - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


coeffs

extract all coefficients of a multivariate polynomial

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

coeffs(p, x, 't')

Parameters

p

-

multivariate polynomial

x

-

(optional) indeterminate or list/set of indeterminates

t

-

(optional) an unevaluated name

Description

• 

The coeffs function returns an expression sequence of all the coefficients of the polynomial p with respect to the indeterminate(s) x.

• 

If x is not specified, coeffs computes the coefficients with respect to all the indeterminates of p (see the indets function).  If a third argument t is specified (call by name), it is assigned an expression sequence of the terms of p.  There is a one-to-one correspondence between the coefficients and the terms of p.

• 

Note that p must be collected (collect) with respect to the appropriate indeterminates.  For multivariate polynomials, you may need to use collect with `distributed`.

Thread Safety

• 

The coeffs command is thread-safe as of Maple 15.

• 

For more information on thread safety, see index/threadsafe.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

For multivariate polynomials, you may need to use collect with `distributed`.

Error, invalid arguments to coeffs

(11)

See Also

coeff

collect

indets

lcoeff

PolynomialTools[CoefficientVector]

tcoeff

 


Download Help Document