Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1484 by fredrik.johansson: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
>>> cos(1+x+x**2).series(x,0,5)
x**4*sin(1)/2 - x*sin(1) - x**2*sin(1) - x**3*cos(1) - 11*x**4*cos(1)/24 -
x**2*cos(1
Updates:
Labels: CodeInDifficulty-Easy
Comment #1 on issue 1484 by smi...@gmail.com: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
collect or collect_terms (if merged from
https://github.com/sympy/sympy/pull/664) can handle this.
--
You received th
Updates:
Labels: CodeInCategory-Code
Comment #3 on issue 1484 by asmeu...@gmail.com: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google Groups
Comment #5 on issue 1484 by march...@kb.csu.ru: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
Him is this issue still actual?
I try to reproduce it, but seems like it fixed now
http://paste.pocoo.org/show/545820/
--
You received this message because you a
Updates:
Status: Accepted
Comment #6 on issue 1484 by sean.v@gmail.com: series should collect
powers
http://code.google.com/p/sympy/issues/detail?id=1484
marchael, I think the issue is still valid. The key to this issue is
getting all terms of similar order to factor out. So whe
Comment #7 on issue 1484 by march...@kb.csu.ru: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
I found that cos(x).series() calling unbound methon series() from
sympy.core.expr but seems like that method doesn't provide printing values
to stdin. I'd like to
Comment #8 on issue 1484 by march...@kb.csu.ru: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
Ok, I made a simple patch for it and fix related tests, but one still fails
with "NotImplementedError: Improve MV Derivative support in collect"
git diff: http://
Comment #9 on issue 1484 by smi...@gmail.com: series should collect powers
http://code.google.com/p/sympy/issues/detail?id=1484
The simplest fix for the problem is to replace
return collect(s1,x) + o
with
try:
return collect(s1 ,x) + o
except NotImplementedError:
return s1 + o
--
Yo
Updates:
Status: Fixed
Comment #10 on issue 1484 by sean.v@gmail.com: series should collect
powers
http://code.google.com/p/sympy/issues/detail?id=1484
This has fixed by this pull: https://github.com/sympy/sympy/pull/1039
--
You received this message because you are subscribed to