Issue 3158 in sympy: Function to sort a substitution dictionary to remove ambiguity

2012-03-16 Thread sympy
Status: Accepted Owner: CC: smi...@gmail.com Labels: Type-Enhancement Priority-Medium New issue 3158 by asmeu...@gmail.com: Function to sort a substitution dictionary to remove ambiguity http://code.google.com/p/sympy/issues/detail?id=3158 See https://github.com/sympy/sympy/pull/690. Th

Re: Issue 2571 in sympy: Regression in Integral.subs

2012-03-16 Thread sympy
Issue 2571: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 This issue is no longer blocking issue 2010. See http://code.google.com/p/sympy/issues/detail?id=2010 -- You received this message because you are listed in the owner or CC fields of this issue, or becaus

Re: Issue 2010 in sympy: Integration with the full Risch Algorithm

2012-03-16 Thread sympy
Updates: Blockedon: -2571 Comment #18 on issue 2010 by asmeu...@gmail.com: Integration with the full Risch Algorithm http://code.google.com/p/sympy/issues/detail?id=2010 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Gr

Re: Issue 2571 in sympy: Regression in Integral.subs

2012-03-16 Thread sympy
Updates: Status: Accepted Labels: -NeedsReview -smichr Comment #23 on issue 2571 by asmeu...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 Sorry, but I still think this isn't powerful enough. The expression from the original post n

Re: Issue 3102 in sympy: Piecewise subs of function fails

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #4 on issue 3102 by smi...@gmail.com: Piecewise subs of function fails http://code.google.com/p/sympy/issues/detail?id=3102 replacement of functions doesn't fail now. -- You received this message because you are subscribed to the Google Groups "sympy-i

Re: Issue 3089 in sympy: (a**1.0).subs(a,b) -> b

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #1 on issue 3089 by smi...@gmail.com: (a**1.0).subs(a,b) -> b http://code.google.com/p/sympy/issues/detail?id=3089 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group.

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #9 on issue 3145 by smi...@gmail.com: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 simultaneous substitution is now part of master. -- You received this message because you are subscribed to the Google Groups "sympy-issue

Re: Issue 3059 in sympy: Should -oo be implemented as Mul(-1, oo) (was: (x - oo).has(oo) is False; (x - oo).subs(oo, 1) fails)

2012-03-16 Thread sympy
Updates: Labels: -NeedsReview -smichr Comment #14 on issue 3059 by smi...@gmail.com: Should -oo be implemented as Mul(-1, oo) (was: (x - oo).has(oo) is False; (x - oo).subs(oo, 1) fails) http://code.google.com/p/sympy/issues/detail?id=3059 the subs doesn't fail, now: >>> (x - oo)

Re: Issue 2980 in sympy: (x + 2.0).subs(2, 3) gives x + 3

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #1 on issue 2980 by smi...@gmail.com: (x + 2.0).subs(2, 3) gives x + 3 http://code.google.com/p/sympy/issues/detail?id=2980 an Integer no longer replaces a Float -- You received this message because you are subscribed to the Google Groups "sympy-issues

Re: Issue 2976 in sympy: Tuple can hold bool but subs fails

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2976 by smi...@gmail.com: Tuple can hold bool but subs fails http://code.google.com/p/sympy/issues/detail?id=2976 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-

Re: Issue 3041 in sympy: tryring to replace a Tuple with subs fails

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #3 on issue 3041 by smi...@gmail.com: tryring to replace a Tuple with subs fails http://code.google.com/p/sympy/issues/detail?id=3041 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 1581 in sympy: subs(dict()) sometimes breaks

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #6 on issue 1581 by smi...@gmail.com: subs(dict()) sometimes breaks http://code.google.com/p/sympy/issues/detail?id=1581 that's keyword syntax (dict(x=3)) which Python parses as 'x'=3 so it doesn't conflict with any local x. The bias is for symbols in s

Re: Issue 2571 in sympy: Regression in Integral.subs

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #22 on issue 2571 by smi...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" g

Re: Issue 2749 in sympy: subs(Dict) does not work

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2749 by smi...@gmail.com: subs(Dict) does not work http://code.google.com/p/sympy/issues/detail?id=2749 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group

Re: Issue 1102 in sympy: _subs_dict doesn't works with functions

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #5 on issue 1102 by smi...@gmail.com: _subs_dict doesn't works with functions http://code.google.com/p/sympy/issues/detail?id=1102 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "s

Re: Issue 2552 in sympy: (1/(x*y)).subs(x*y, whatever) doesn't work

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #34 on issue 2552 by smi...@gmail.com: (1/(x*y)).subs(x*y, whatever) doesn't work http://code.google.com/p/sympy/issues/detail?id=2552 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 666 in sympy: sorting of expressions makes subs_dict() fail

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #17 on issue 666 by smi...@gmail.com: sorting of expressions makes subs_dict() fail http://code.google.com/p/sympy/issues/detail?id=666 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Group

Re: Issue 2026 in sympy: Exact, algebraic, and integer_power substitution

2012-03-16 Thread sympy
Comment #30 on issue 2026 by smi...@gmail.com: Exact, algebraic, and integer_power substitution http://code.google.com/p/sympy/issues/detail?id=2026 documentation has been updated and 690 committed. -- You received this message because you are subscribed to the Google Groups "sympy-issues"

Re: Issue 3155 in sympy: simplification of logical expressions

2012-03-16 Thread sympy
Updates: Status: Accepted Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-High Logic Comment #1 on issue 3155 by ronan.l...@gmail.com: simplification of logical expressions http://code.google.com/p/sympy/issues/detail?id=3155 Well, simplification of logical ex

Issue 3157 in sympy: limit() of hypergeometric function does not work

2012-03-16 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium Series New issue 3157 by asmeu...@gmail.com: limit() of hypergeometric function does not work http://code.google.com/p/sympy/issues/detail?id=3157 In [78]: print a -2*hyper((1/2, 3/4), (3/2,), 2*exp_polar(I*pi)/(z - 1))/sqrt(z -

Issue 3156 in sympy: hyperexpand() adds an exp_polar

2012-03-16 Thread sympy
Status: Accepted Owner: CC: ness...@gmail.com Labels: Type-Defect Priority-Medium Simplify New issue 3156 by asmeu...@gmail.com: hyperexpand() adds an exp_polar http://code.google.com/p/sympy/issues/detail?id=3156 In [70]: print a -2*hyper((1/2, 3/4), (3/2,), 2*exp_polar(I*pi)/(z - 1))/sqrt

Issue 3155 in sympy: simplification of logical expressions

2012-03-16 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 3155 by carlosha...@gmail.com: simplification of logical expressions http://code.google.com/p/sympy/issues/detail?id=3155 I'm new to sympy, and I'm using it to create complex logical expressions and try to simplify them.

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #8 on issue 3145 by pr...@goodok.ru: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 But I get a*oo even when it is not know whether `a<>0` or not. About PR 609, I commented it (one critical remark). The wave of GCI covered us, and the new one approaching

Re: Issue 294 in sympy: Pass coverage_doctest.py

2012-03-16 Thread sympy
Comment #16 on issue 294 by asmeu...@gmail.com: Pass coverage_doctest.py http://code.google.com/p/sympy/issues/detail?id=294 coverage_doctest was recently rewritten (see https://github.com/sympy/sympy/pull/1114). Our total coverage as of right now is TOTAL SCORE for sympy: 29% (1460 of 48

Re: Issue 2932 in sympy: coverage_doctest.py reports functions within functions

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #4 on issue 2932 by asmeu...@gmail.com: coverage_doctest.py reports functions within functions http://code.google.com/p/sympy/issues/detail?id=2932 This was fixed in https://github.com/sympy/sympy/pull/1114. -- You received this message because you are

Re: Issue 2970 in sympy: coverage_doctest.py should report public classes (not just functions)

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2970 by asmeu...@gmail.com: coverage_doctest.py should report public classes (not just functions) http://code.google.com/p/sympy/issues/detail?id=2970 This was part of https://github.com/sympy/sympy/pull/1114. -- You received this message be

Re: Issue 93 in sympy: Square root denesting

2012-03-16 Thread sympy
Comment #31 on issue 93 by mario.pe...@gmail.com: Square root denesting http://code.google.com/p/sympy/issues/detail?id=93 In https://github.com/sympy/sympy/pull/1131 the example in the inspiring document Denest_en.pdf by jnebos `sqrt(8 - sqrt(2)*sqrt(5 - sqrt(5)) - sqrt(3)*(1 + sqrt(5)))` is d

Re: Issue 3099 in sympy: Expr.is_constant() is very slow in some cases

2012-03-16 Thread sympy
Comment #10 on issue 3099 by smi...@gmail.com: Expr.is_constant() is very slow in some cases http://code.google.com/p/sympy/issues/detail?id=3099 It takes about a second in my 3109c branch now. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #7 on issue 3145 by smi...@gmail.com: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 Implicitly this transformation assumes that a<>0. I'm not sure that it matters since if you let a == 0 you get nan, the same as if you do `S(0)/0`, and you get +/-oo

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #6 on issue 3145 by pr...@goodok.ru: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 'static` is confusing (because it can be related with the programming scope) `accurate`, `careful` id blinded, but more better (in my opinion) is `before_evaluation` or

Re: Issue 3127 in sympy: rop should be rop_cls in Relational.__new__

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #1 on issue 3127 by smi...@gmail.com: rop should be rop_cls in Relational.__new__ http://code.google.com/p/sympy/issues/detail?id=3127 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 3114 in sympy: x._random() returns None if x.is_positive is True

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #1 on issue 3114 by smi...@gmail.com: x._random() returns None if x.is_positive is True http://code.google.com/p/sympy/issues/detail?id=3114 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Re: Issue 3098 in sympy: Should Heaviside raise ValueError if the argument is not real?

2012-03-16 Thread sympy
Comment #3 on issue 3098 by sean.v@gmail.com: Should Heaviside raise ValueError if the argument is not real? http://code.google.com/p/sympy/issues/detail?id=3098 There is an open PR [1] which does this. I don't know how much more of a decision is needed, but I agree that it should raise

Re: Issue 3149 in sympy: solve() doesn't work when it should

2012-03-16 Thread sympy
Comment #2 on issue 3149 by smi...@gmail.com: solve() doesn't work when it should http://code.google.com/p/sympy/issues/detail?id=3149 If it comes back from solve (with or without the force option) then it didn't fail with False in the checking. Perhaps `force` should always be True; chec

Re: Issue 2088 in sympy: (oo).evalf(chop=True) -> 0

2012-03-16 Thread sympy
Updates: Labels: WrongResult Comment #2 on issue 2088 by asmeu...@gmail.com: (oo).evalf(chop=True) -> 0 http://code.google.com/p/sympy/issues/detail?id=2088 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-iss

Re: Issue 2244 in sympy: N(Matrix) does not work (but Matrix.evalf() does)

2012-03-16 Thread sympy
Updates: Labels: Evalf Comment #3 on issue 2244 by smi...@gmail.com: N(Matrix) does not work (but Matrix.evalf() does) http://code.google.com/p/sympy/issues/detail?id=2244 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Re: Issue 2057 in sympy: Units do not work together with evalf?

2012-03-16 Thread sympy
Updates: Labels: Evalf Comment #7 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sy

Re: Issue 2052 in sympy: is_zero should default to None, not False

2012-03-16 Thread sympy
Updates: Labels: -CodeInDifficulty-Hard Evalf Comment #22 on issue 2052 by smi...@gmail.com: is_zero should default to None, not False http://code.google.com/p/sympy/issues/detail?id=2052 (No comment was entered for this change.) -- You received this message because you are subscribe

Re: Issue 731 in sympy: _eval_evalf needs review

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #4 on issue 731 by smi...@gmail.com: _eval_evalf needs review http://code.google.com/p/sympy/issues/detail?id=731 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group.

Re: Issue 2088 in sympy: (oo).evalf(chop=True) -> 0

2012-03-16 Thread sympy
Updates: Labels: Evalf Comment #1 on issue 2088 by smi...@gmail.com: (oo).evalf(chop=True) -> 0 http://code.google.com/p/sympy/issues/detail?id=2088 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" gro

Re: Issue 1102 in sympy: _subs_dict doesn't works with functions

2012-03-16 Thread sympy
Updates: Labels: NeedsReview smichr Comment #4 on issue 1102 by smi...@gmail.com: _subs_dict doesn't works with functions http://code.google.com/p/sympy/issues/detail?id=1102 f(x).subs(f, g) -> g(x) in https://github.com/sympy/sympy/pull/690 -- You received this message because you a

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #5 on issue 3145 by smi...@gmail.com: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 "simultaneous=True" seems like a better keyword to me. what about 'static' (as in "subsequent replacements don't affect former replacements" and "all replacement is d

Re: Issue 1102 in sympy: _subs_dict doesn't works with functions

2012-03-16 Thread sympy
Comment #3 on issue 1102 by smi...@gmail.com: _subs_dict doesn't works with functions http://code.google.com/p/sympy/issues/detail?id=1102 This doesn't work again: xp = f(x)+g(x) xp.subs({f:h,g:i}) Traceback (most recent call last): File "", line 1, in File "sympy\core\basic.py", line

Re: Issue 1275 in sympy: tsolve errors on exponentials

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #6 on issue 1275 by smi...@gmail.com: tsolve errors on exponentials http://code.google.com/p/sympy/issues/detail?id=1275 All appears well: >>> solve(1.0 + 2.0*x + 3.0*sqrt(1-x**2)) [-0.953254218877943] >>> solve(-1 + x**2 + 0.111*(1

Re: Issue 731 in sympy: _eval_evalf needs review

2012-03-16 Thread sympy
Comment #3 on issue 731 by smi...@gmail.com: _eval_evalf needs review http://code.google.com/p/sympy/issues/detail?id=731 Perhaps this can be closed. 'issue640' is no longer present and I get: >>> ((4+5*x)*(2+3*x)).evalf() (3.0*x + 2.0)*(5.0*x + 4.0) -- You received this message becaus

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #4 on issue 3145 by pr...@goodok.ru: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 Upon XFAIL I meant `(sqrt(a/b)).subs([(a,0),(b,0)]) <> (sqrt(a/b)).subs(reversed([(a,0),(b,0)]))` -- You received this message because you are subscribed to the Google

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #3 on issue 3145 by pr...@goodok.ru: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 First of all, I think that it is problem in the assumption system or in the cancellation or in the automatic simplification of a*1/S.Zero --> a*oo a*1/S.Zero oo*a wh

Re: Issue 1296 in sympy: some problem with notcommutative algebra

2012-03-16 Thread sympy
Updates: Labels: NeedsReview Comment #9 on issue 1296 by julien.r...@gmail.com: some problem with notcommutative algebra http://code.google.com/p/sympy/issues/detail?id=1296 (No comment was entered for this change.) -- You received this message because you are subscribed to the Googl

Re: Issue 3145 in sympy: simultaneous substitution

2012-03-16 Thread sympy
Comment #2 on issue 3145 by julien.r...@gmail.com: simultaneous substitution http://code.google.com/p/sympy/issues/detail?id=3145 "simultaneous=True" seems like a better keyword to me. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to

Re: Issue 3099 in sympy: Expr.is_constant() is very slow in some cases

2012-03-16 Thread sympy
Comment #9 on issue 3099 by smi...@gmail.com: Expr.is_constant() is very slow in some cases http://code.google.com/p/sympy/issues/detail?id=3099 but it's still very slow See comment 5. I suppose one could give it a numerical=False flag. I don't know of a failproof way to avoid the chase

Re: Issue 3099 in sympy: Expr.is_constant() is very slow in some cases

2012-03-16 Thread sympy
Updates: Status: Accepted Labels: -Priority-High -Milestone-Release0.7.2 -NeedsReview -smichr Priority-Medium Comment #8 on issue 3099 by ronan.l...@gmail.com: Expr.is_constant() is very slow in some cases http://code.google.com/p/sympy/issues/detail?id=3099 It doesn't cause probl

Re: Issue 3099 in sympy: Expr.is_constant() is very slow in some cases

2012-03-16 Thread sympy
Updates: Status: Fixed Comment #7 on issue 3099 by asmeu...@gmail.com: Expr.is_constant() is very slow in some cases http://code.google.com/p/sympy/issues/detail?id=3099 This was merged. Even though the core tests still hang a little bit on a few points, I take it this can be close