MultivariatePowerSeries/Negate - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MultivariatePowerSeries/Negate

MultivariatePowerSeries

  

Negate

  

Negate a power series or a univariate polynomial over power series

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

-p

Negate(p)

-u

Negate(u)

Parameters

p

-

power series generated by this package

u

-

univariate polynomial over power series generated by this package

Description

• 

The commands -p and Negate(p) return the additive inverse of the power series p.

• 

The commands -u and Negate(u) return the additive inverse of the univariate polynomial over power series u.

• 

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

Examples

withMultivariatePowerSeries:

We create a power series and form its additive inverse in two ways.

aGeometricSeriesx,y,z

aPowⅇrSⅇrⅈⅇs of 11xyz : 1+x+y+z+

(1)

ba

bPowⅇrSⅇrⅈⅇs of 11xyz : −1+

(2)

cNegatea

cPowⅇrSⅇrⅈⅇs of 11xyz : −1xyz+

(3)

We verify that the results are the same up to homogeneous degree 10.

ApproximatelyEqualb,c,10

true

(4)

We create a univariate polynomial over power series and form its additive inverse.

fUnivariatePolynomialOverPowerSeriesz3z2x2xy,z

fUnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 2xy+0z+xz2+1z3

(5)

gf

gUnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0++0z+0+z2+−1z3

(6)

The additive inverse of g should be equal to f.

ApproximatelyEqualf,Negateg,10

true

(7)

Compatibility

• 

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

• 

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

See Also

ApproximatelyEqual

GeometricSeries

Multiply

PowerSeries

Subtract

UnivariatePolynomialOverPowerSeries