> And (as I understand Ronan's tendency) if we can't provide O(x) then
> we can't provide "asymptotic expansion" upon the whole. (only some terms,
> that generally speaking is neither "asymptotic expansion", nor
An order term is always returned now.
Until we can represent O at x0!=0 the origin is simply shifted to x0 as it says
in the docstring.
If you want the "unshifted, but not fully functional" form you can use the
keyword sudo=True:
h[1] >>> cos(x).series(n=2)
1 + O(x**2)
h[2] >>> cos(x).series(x,1,n=2)
-x*sin(1) + cos(1) + O(x**2)
h[3] >>> cos(x).series(x,1,n=2,sudo=True)
(1 - x)*sin(1) + cos(1) + O((x - 1)**2)
/c
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.