Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Series

New issue 3772 by [email protected]: coefficients of x**0 in series
http://code.google.com/p/sympy/issues/detail?id=3772

I am able to get the terms of a series expansion by doing ser.coeff(x**n) for n > 1 with no problem. For example:

exp(x).series().coeff(x**4)
1/24

However, when I ask for the constant term, I also get the O() term and the x:

exp(x).series().coeff(x**0)
         ⎛ 6⎞
1 + x + O⎝x ⎠

In a geometric series, I get everything:
(1/(1-x)).series().coeff(1)
         2    3    4    5    ⎛ 6⎞
1 + x + x  + x  + x  + x  + O⎝x ⎠

I would expect the answer to just be 1 for all of these examples.

--
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