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

Online Help

All Products    Maple    MapleSim


powseries

  

subtract

  

subtraction of two formal power series

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

subtract(a, b)

Parameters

a, b

-

formal power series

Description

• 

The function subtract(a, b) returns the formal power series in which each coefficient is the corresponding coefficient of a minus the corresponding coefficient of b.

• 

This function yields the same result as powadd(a, negative(b)), but is faster.

• 

The command with(powseries,subtract) allows the use of the abbreviated form of this command.

Examples

withpowseries:

powcreatetn=tn1n,t0=1:

powcreatevn=vn12,v0=1:

ssubtractv,t:

tpsforms,x,6

12x14x2124x3+148x4+11480x5+Ox6

(1)

See Also

powseries