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
GetCoefficient(p, m)
GetCoefficient(u, d)
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
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.
with⁡MultivariatePowerSeries:
We create a power series corresponding to a polynomial and find a few of its coefficients.
a≔PowerSeries⁡1+3⁢x+7⁢x⁢y+4⁢x2:
GetCoefficient⁡a,x
3
GetCoefficient⁡a,x⁢y
7
GetCoefficient⁡a,x⁢y2
0
We create a univariate polynomial over power series with z as its main variable, corresponding to the expression x+y⁢z+z21−x−y.
f≔UnivariatePolynomialOverPowerSeries⁡PowerSeries⁡x,PowerSeries⁡y,GeometricSeries⁡x,y,z:
The coefficient of z0 is the power series corresponding to x.
GetCoefficient⁡f,0
PowⅇrSⅇrⅈⅇs: x
The coefficient of z0 is the power series corresponding to 11−x−y.
GetCoefficient⁡f,2
PowⅇrSⅇrⅈⅇs of 11−x−y : 1+x+y+…
Create a univariate polynomial over power series from a list of Puiseux series.
g≔UnivariatePolynomialOverPuiseuxSeries⁡PuiseuxSeries⁡1,PuiseuxSeries⁡0,PuiseuxSeries⁡x,x=x13,PuiseuxSeries⁡y,y=y12,PuiseuxSeries⁡x+y1+x+y,x=x⁢y12,y=x⁢y−1,z
g≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0⁢z+x13⁢z2+y⁢z3+0+…⁢z4
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
Download Help Document