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

Online Help

All Products    Maple    MapleSim


type/series

series data structure

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, series)

Parameters

expr

-

expression

Description

• 

The function type/series returns true if the value of expr is Maple's series data structure, explained below.

• 

The series data structure represents an expression as a truncated series in one specified indeterminate, expanded about a particular point. It is created by a call to the series function.

• 

op(0, expr), with expr of type series, returns x-a where x denotes the ``series variable'' and a denotes the particular point of expansion. op(2*i-1, expr) returns the ith coefficient (a general expression) and op(2*i, expr) returns the corresponding integer exponent.

• 

The exponents are ``word-size'' integers, in increasing order.

• 

The representation is sparse; zero coefficients are not represented.

• 

Usually, the final pair of operands in this data type are the special order symbol O(1) and the integer n which indicates the order of truncation. However, if the series is exact then there will be no order term, for example, the series expansion of a low-degree polynomial.

• 

Formally, the coefficients of the series are such that

k1xaeps<|coeffi|<k2xaeps

  

for some constants k1 and k2, for any 0<eps, and as x approaches a. In other words, the coefficients may depend on x, but their growth must be less than polynomial in x. O(1) represents such a coefficient, rather than an arbitrary constant.

• 

A zero series is immediately simplified to the integer zero.

Examples

aseriessinx&comma;x=0&comma;5

ax16x3+Ox5

(1)

typea&comma;series

true

(2)

typea&comma;taylor

true

(3)

op0&comma;a

x

(4)

opa

1,1,16,3,O1,5

(5)

bseries1sinx&comma;x=0&comma;5

bx−1+16x+Ox3

(6)

typeb&comma;series

true

(7)

typeb&comma;taylor

false

(8)

op0&comma;b

x

(9)

opb

1,−1,16,1,O1,3

(10)

typex3&comma;series

false

(11)

seriessqrtsinx&comma;x=0&comma;4

xx5212+Ox92

(12)

type&comma;series

false

(13)

whattype

`+`

(14)

cseriesxx&comma;x=0&comma;3

c1+lnxx+12lnx2x2+Ox3

(15)

typec&comma;series

true

(16)

typec&comma;taylor

false

(17)

op0&comma;c

x

(18)

opc

1,0,lnx,1,lnx22,2,O1,3

(19)

dseriessinx+y&comma;x=y&comma;2

dsin2y+cos2yxy+Oxy2

(20)

typed&comma;series

true

(21)

op0&comma;d

xy

(22)

opd

sin2y,0,cos2y,1,O1,2

(23)

See Also

op

series

taylor

type

type/laurent

type/taylor