Comment #9 on issue 3638 by [email protected]: Automatic series expansion while applying a function?
http://code.google.com/p/sympy/issues/detail?id=3638

What's a reasonable cutoff for factorial?

I don't think there is, sounds like a joke.

Yes, it's just a bug. It isn't implemented as smart as it should be.

My point, that either we should evaluate expr(x)*O(x**n) things automatically (and we can be smart here), or don't evaluate this at all. If we choose first - probably, we should handle expr(x) + O(x**n) and f(expr(x)+O(x**n)) as well.

log(1 + O(x**2)).series() doesn't work for me.

log(1+O(x**2)) works with sauto.patch. In master - yes, it shows error "Could not calculate 6 terms for log(1 + O(x**2))". But for n=2 - it works.

n.b.: "Could not calculate 6 terms for log(1 + O(x**2))" - I'm not sure whether it's a bug or not. According to docs, it's ok to raise an exception: "Returns the series expansion of "self" around the point ``x = x0`` with respect to ``x`` up to O(x**n) (default n is 6)."


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to