order - Maple Help

# Online Help

###### All Products    Maple    MapleSim

order

determine the truncation order of a series

 Calling Sequence order(expr)

Parameters

 expr - expression of type series

Description

 • The function order will return the degree of the indeterminate in the $\mathrm{O}\left(x\right)$ term of a series.  If there is no order term in the series then the name infinity is returned.
 • This function will only work with expressions of type series.

Thread Safety

 • The order command is thread-safe as of Maple 15.
 • For more information on thread safety, see index/threadsafe.

Examples

 > $\mathrm{series}\left(\frac{1}{1-x},x\right)$
 ${1}{+}{x}{+}{{x}}^{{2}}{+}{{x}}^{{3}}{+}{{x}}^{{4}}{+}{{x}}^{{5}}{+}{O}{}\left({{x}}^{{6}}\right)$ (1)
 > $\mathrm{order}\left(\right)$
 ${6}$ (2)
 > $\mathrm{series}\left({x}^{2},x=1\right)$
 ${1}{+}{2}{}\left({x}{-}{1}\right){+}{\left({x}{-}{1}\right)}^{{2}}$ (3)
 > $\mathrm{order}\left(\right)$
 ${\mathrm{\infty }}$ (4)

 See Also