Re: Issue 1766 in sympy: expand(power_base=True) is too aggressive

2009-12-21 Thread sympy
Updates: Labels: -NeedsReview NeedsBetterPatch Comment #18 on issue 1766 by asmeurer: expand(power_base=True) is too aggressive http://code.google.com/p/sympy/issues/detail?id=1766 Regarding the changes to test_nth_linear_constant_coeff_homogeneous, what caused the change, for example

Re: Issue 1777 in sympy: powsimp modifications

2009-12-21 Thread sympy
Comment #3 on issue 1777 by asmeurer: powsimp modifications http://code.google.com/p/sympy/issues/detail?id=1777 Yes, powers associate to the right by default in Python, as opposed to every other operator, which associate to the left. I actually meant (x**y)**z, which under proper assumptions

Re: Issue 1777 in sympy: powsimp modifications

2009-12-21 Thread sympy
Comment #2 on issue 1777 by smichr: powsimp modifications http://code.google.com/p/sympy/issues/detail?id=1777 The expression in the initial comment is not the same as the one that you gave. The current branch does behave like you point out: >>> from sympy import * >>> var('x y z') (x, y, z) >

Re: Issue 1778 in sympy: Rational from string can be improved

2009-12-21 Thread sympy
Comment #7 on issue 1778 by Vinzent.Steinberg: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 This should be indeed fixed. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue.

Re: Issue 1778 in sympy: Rational from string can be improved

2009-12-21 Thread sympy
Comment #6 on issue 1778 by asmeurer: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 Well, it needs to do type checking. I guess the real question is, why does anything other than sympify try to convert strings into sympy expressions? And if it does,

Re: Issue 1778 in sympy: Rational from string can be improved

2009-12-21 Thread sympy
Comment #5 on issue 1778 by Vinzent.Steinberg: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 > In fact, is there a good reason why we don't just put this all in sympify > and have Rational call sympify? Performance and continuity. Imagine you call

Re: Issue 1778 in sympy: Rational from string can be improved

2009-12-21 Thread sympy
Comment #4 on issue 1778 by asmeurer: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 We should fix sympify to do that too: In [2]: sympify('0.[3]') TypeError: 'Zero' object is unsubscriptable In fact, is there a good reason why we don't just put this a

Issue 1779 in sympy: When atan2 is used, expression can not be differentiated anymore.

2009-12-21 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1779 by moritzkrauss: When atan2 is used, expression can not be differentiated anymore. http://code.google.com/p/sympy/issues/detail?id=1779 diff and jabobian do not work with atan2(a,b) -- You received this message because

Re: Issue 1778 in sympy: Rational from string can be improved

2009-12-21 Thread sympy
Comment #3 on issue 1778 by smichr: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 Yes...please check now. Regarding '.[3]', that's an existing instantiation for Rational meaning 0.333 The problem is that you used to have to put a 0 in from of it