Re: Issue 604 in sympy: write tests for p = x**3+2*x**2+8; r = roots(p, x);

2011-07-30 Thread sympy
Updates: Status: Fixed Comment #14 on issue 604 by asmeurer: write tests for p = x**3+2*x**2+8; r = roots(p, x); http://code.google.com/p/sympy/issues/detail?id=604 See pull request #521, which was pushed in. This can be tested symbolically using simplify(). -- You received this

Re: Issue 604 in sympy: write tests for p = x**3+2*x**2+8; r = roots(p, x);

2011-06-17 Thread sympy
Comment #13 on issue 604 by smi...@gmail.com: write tests for p = x**3+2*x**2+8; r = roots(p, x); http://code.google.com/p/sympy/issues/detail?id=604 You can even just do [p.subs(x, ri).n(chop=True) for ri in r] [0, 0, 0] -- You received this message because you are subscribed to

Re: Issue 604 in sympy: write tests for p = x**3+2*x**2+8; r = roots(p, x);

2011-04-10 Thread sympy
Comment #12 on issue 604 by smi...@gmail.com: write tests for p = x**3+2*x**2+8; r = roots(p, x); http://code.google.com/p/sympy/issues/detail?id=604 Perhaps this issue should just be closed. Looking at the git log I see that the whole test was removed in the revamp of poly (see

Re: Issue 604 in sympy: write tests for p = x**3+2*x**2+8; r = roots(p, x);

2009-12-14 Thread sympy
Comment #10 on issue 604 by idichekop: write tests for p = x**3+2*x**2+8; r = roots(p, x); http://code.google.com/p/sympy/issues/detail?id=604 Hello all, I wanted to shoot this issue here, but when just trying it out I became the following output: === In [67]: p = x**3+2*x**2+8 In

Re: Issue 604 in sympy: write tests for p = x**3+2*x**2+8; r = roots(p, x);

2009-12-14 Thread sympy
Comment #11 on issue 604 by asmeurer: write tests for p = x**3+2*x**2+8; r = roots(p, x); http://code.google.com/p/sympy/issues/detail?id=604 roots() returns a dictionary (notice type(r)) of root:multiplicity terms. For example: In [5]: p = (x - 12)*(x - 13)**2*(x - 42)**2 In [6]: