Issue 2245 in sympy: assumption while canceling the polynomials

2011-03-28 Thread sympy
Status: New Owner: pr...@goodok.ru Labels: Type-Defect Priority-Medium Polynomial Simplify New issue 2245 by pr...@goodok.ru: assumption while canceling the polynomials http://code.google.com/p/sympy/issues/detail?id=2245 Consider simplification: a = (x**2 - 3*x + 2)/(x - 1)

Re: Issue 2245 in sympy: assumption while canceling the polynomials

2011-03-28 Thread sympy
Comment #3 on issue 2245 by matt...@gmail.com: assumption while canceling the polynomials http://code.google.com/p/sympy/issues/detail?id=2245 This cases() function is a very nice idea. As to cancel(), this this a common design pattern to make a function do one thing at time. cancel() can

Re: Issue 2245 in sympy: assumption while canceling the polynomials

2011-03-28 Thread sympy
Comment #1 on issue 2245 by asmeurer: assumption while canceling the polynomials http://code.google.com/p/sympy/issues/detail?id=2245 But the whole point of cancel is to cancel out common polynomial factors. Otherwise, it is useless. Perhaps the functionality you mention could be

Re: Issue 2245 in sympy: assumption while canceling the polynomials

2011-03-28 Thread sympy
Comment #5 on issue 2245 by pr...@goodok.ru: assumption while canceling the polynomials http://code.google.com/p/sympy/issues/detail?id=2245 The example of the last, when the limit of series's terms is analyzing. e.g. the n-th derivatives of `acos(1-x*x)` at point `x==1` yield ratios of

Re: Issue 2245 in sympy: assumption while canceling the polynomials

2011-03-28 Thread sympy
Comment #6 on issue 2245 by matt...@gmail.com: assumption while canceling the polynomials http://code.google.com/p/sympy/issues/detail?id=2245 On the other hand simpify() should go the other direction and be feature full. This is not the case currently as simplify() == cancel() + eps. I