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

Online Help

All Products    Maple    MapleSim


MultivariatePowerSeries

  

GetCoefficient

  

get a coefficient of a power series or a univariate polynomial over power series or over Puiseux series

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GetCoefficient(p, m)

GetCoefficient(u, d)

Parameters

p

-

power series generated by this package

m

-

monomial

u

-

univariate polynomial over power series or over Puiseux series generated by this package

d

-

non-negative integer

Description

• 

The command GetCoefficient(p,m) returns the coefficient of p with respect to the multivariate monomial m. This coefficient is a complex number.

• 

The command GetCoefficient(u,d) returns the coefficient of z^d in u, where z is the main variable of u. This coefficient is a power series.

• 

When using the MultivariatePowerSeries package, do not assign anything to the variables occurring in the power series, Puiseux series, and univariate polynomials over these series. If you do, you may see invalid results.

Examples

withMultivariatePowerSeries:

We create a power series corresponding to a polynomial and find a few of its coefficients.

aPowerSeries1+3x+7xy+4x2:

GetCoefficienta,x

3

(1)

GetCoefficienta,xy

7

(2)

GetCoefficienta,xy2

0

(3)

We create a univariate polynomial over power series with z as its main variable, corresponding to the expression x+yz+z21xy.

fUnivariatePolynomialOverPowerSeriesPowerSeriesx,PowerSeriesy,GeometricSeriesx,y,z:

The coefficient of z0 is the power series corresponding to x.

GetCoefficientf,0

PowⅇrSⅇrⅈⅇs: x

(4)

The coefficient of z0 is the power series corresponding to 11xy.

GetCoefficientf,2

PowⅇrSⅇrⅈⅇs of 11xy : 1+x+y+

(5)

Create a univariate polynomial over power series from a list of Puiseux series.

gUnivariatePolynomialOverPuiseuxSeriesPuiseuxSeries1,PuiseuxSeries0,PuiseuxSeriesx,x=x13,PuiseuxSeriesy,y=y12,PuiseuxSeriesx+y1+x+y,x=xy12,y=xy1,z

gUnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0z+x13z2+yz3+0+z4

(6)

GetCoefficientf,2

PowⅇrSⅇrⅈⅇs of 11xy : 1+x+y+

(7)

Compatibility

• 

The MultivariatePowerSeries[GetCoefficient] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

Degree

GeometricSeries

MainVariable

PowerSeries

Precision

UnivariatePolynomialOverPowerSeries

UpdatePrecision