Source code for sympy.series.series

from __future__ import print_function, division

from sympy.core.sympify import sympify


[docs]def series(expr, x=None, x0=0, n=6, dir="+"): """Series expansion of expr around point `x = x0`. See the docstring of Expr.series() for complete details of this wrapper. """ expr = sympify(expr) return expr.series(x, x0, n, dir)