powseries
tpsform
truncated power series form of a formal series
Calling Sequence
Parameters
Description
Examples
tpsform(p, var, order)
p
-
name of a formal power series
var
variable to be used in the truncated series
order
(optional) number of terms to which resulting series should be accurate (this defaults to the global variable Order)
The function tpsform(p, var, order) creates a truncated power series (a series data structure) in var. This truncated series is equal to p up to, but not including, the term containing x^order.
In some cases tpsform can determine when the series is exact and so it drops the O⁡xorder term. Formal power series created using powpoly fall into this category.
The command with(powseries,tpsform) allows the use of the abbreviated form of this command.
with⁡powseries:
powcreate⁡t⁡n=t⁡n−1n,t⁡0=1:
t⁡_k
t⁡_k−1_k
tpsform⁡t,x,6
1+x+12⁢x2+16⁢x3+124⁢x4+1120⁢x5+O⁡x6
See Also
type/series
Download Help Document