Re: Issue 1694 in sympy: solve has many issues with fractions

2010-11-14 Thread sympy
Comment #160 on issue 1694 by smichr: solve has many issues with fractions http://code.google.com/p/sympy/issues/detail?id=1694 The branch is 1694. Thanks for the problem, Aaron. This flushed up some more errors. Now, all four solution sets have the same first solution that is equivalent to w

Re: Issue 2100 in sympy: nsimplify rarely works without setting the tolerance flag

2010-11-14 Thread sympy
Comment #3 on issue 2100 by smichr: nsimplify rarely works without setting the tolerance flag http://code.google.com/p/sympy/issues/detail?id=2100 It's not hard if you take the str() of it which generally does rounding to get rid of spurious 9.. and ..01 and check the number of digits that

Re: Issue 983 in sympy: improvement to solve()

2010-11-14 Thread sympy
Updates: Cc: ondrej.certik Comment #7 on issue 983 by smichr: improvement to solve() http://code.google.com/p/sympy/issues/detail?id=983 As of 1694: I,v,V = symbols('IvV') i = I*(exp(v/V) - 1) k = i.diff(v,2)/(1 + (i.diff(v))**2)**Rational(3,2) dk = k.diff(v) solve(dk, v) [-oo, V*log(

Re: Issue 1363 in sympy: solve(-3*a/x**(S(1)/2), x) fails

2010-11-14 Thread sympy
Comment #2 on issue 1363 by smichr: solve(-3*a/x**(S(1)/2), x) fails http://code.google.com/p/sympy/issues/detail?id=1363 In mods of issue 1694: solve(-3*a/x**(S(1)/2), x) [] -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this gr

Re: Issue 1364 in sympy: simple equations involving log()

2010-11-14 Thread sympy
Comment #5 on issue 1364 by smichr: simple equations involving log() http://code.google.com/p/sympy/issues/detail?id=1364 In mods of 1694: solve(log(a**(-3) - x**2)/a, x) [(1 - a**3)**(1/2)/a**(3/2), -(1 - a**3)**(1/2)/a**(3/2)] solve(1 - log(a + 4*x**2), x) [-(-4*a + 4*E)**(1/2)/4, (-4*a

Re: Issue 1365 in sympy: improve solve

2010-11-14 Thread sympy
Comment #14 on issue 1365 by smichr: improve solve http://code.google.com/p/sympy/issues/detail?id=1365 In mods of 1694: solve((1 - x)**2*exp(a*x), x) [-oo, 1] solve((1 - x)**2*exp(a*x), x) [-oo, 1] -- You received this message because you are subscribed to the Google Groups "sympy-issue

Re: Issue 1367 in sympy: solve(exp(x)/(8*(a + x)**2), x) fails

2010-11-14 Thread sympy
Comment #4 on issue 1367 by smichr: solve(exp(x)/(8*(a + x)**2), x) fails http://code.google.com/p/sympy/issues/detail?id=1367 Mods of issue 1694 give: solve(exp(x)/(8*(a + x)**2), x) [-oo] solve(1/log(a*x), x) [] solve(exp(x), x) [-oo] -- You received this message because you are subsc

Re: Issue 1368 in sympy: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails

2010-11-14 Thread sympy
Comment #1 on issue 1368 by smichr: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails http://code.google.com/p/sympy/issues/detail?id=1368 With mods of issue 1694: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) [-I*log(I*(1/(1 - I))**(1/2)*(1 + I)**(1/2))/a, -I*log(-I*(1/(1 - I))**(1/2)*(1

Re: Issue 1380 in sympy: solve(2*x/(x+2)-1,x) gives error

2010-11-14 Thread sympy
Comment #3 on issue 1380 by smichr: solve(2*x/(x+2)-1,x) gives error http://code.google.com/p/sympy/issues/detail?id=1380 Mods of issue 1694 give solve(2*x/(x+2)-1,x) [2] -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group

Re: Issue 1387 in sympy: solve(x+sqrt(x)-2,x) returns wrong solution

2010-11-14 Thread sympy
Comment #5 on issue 1387 by smichr: solve(x+sqrt(x)-2,x) returns wrong solution http://code.google.com/p/sympy/issues/detail?id=1387 Mods of issue 1694 give solve(x+sqrt(x)-2,x) [1] -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To pos

Re: Issue 1397 in sympy: solve fails for a sum of two fractions

2010-11-14 Thread sympy
Comment #3 on issue 1397 by smichr: solve fails for a sum of two fractions http://code.google.com/p/sympy/issues/detail?id=1397 Mods of issue 1694 give: solve((x**2/(7-x)).diff(x)) [0, 14] -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To

Re: Issue 1398 in sympy: solve(1/(5+x)**(S(1)/5)-9, x) fails

2010-11-14 Thread sympy
Comment #5 on issue 1398 by smichr: solve(1/(5+x)**(S(1)/5)-9, x) fails http://code.google.com/p/sympy/issues/detail?id=1398 With mods of issue 1694: solve(1/(5+x)**(S(1)/5)-9, x) [-295244/59049] -- You received this message because you are subscribed to the Google Groups "sympy-issues" gro

Re: Issue 1572 in sympy: solve() should be able to solve expressions where variable only appears once

2010-11-14 Thread sympy
Comment #3 on issue 1572 by smichr: solve() should be able to solve expressions where variable only appears once http://code.google.com/p/sympy/issues/detail?id=1572 Mods of issue 1694 give: solve((2**exp(y**2/x) + 2)/(x**2 + 15), y) [x**(1/2)*log(1 + pi*I/log(2))**(1/2), -x**(1/2)*log(1 +

Re: Issue 1596 in sympy: solve returns unnecessary 0 solution

2010-11-14 Thread sympy
Comment #1 on issue 1596 by smichr: solve returns unnecessary 0 solution http://code.google.com/p/sympy/issues/detail?id=1596 Mods of issue 1694 give: solve((3 - 5*x/f(x))*f(x), f(x)) [5*x/3] -- You received this message because you are subscribed to the Google Groups "sympy-issues" group.

Re: Issue 1863 in sympy: nonlinear solver example stopped working

2010-11-14 Thread sympy
Comment #8 on issue 1863 by smichr: nonlinear solver example stopped working http://code.google.com/p/sympy/issues/detail?id=1863 Mods of issue 1694 also give: solve([f_1, f_2, f_3], x, y, z) [(-1 - 2**(1/2), -1 - 2**(1/2), 2 + 2**(1/2) - (1 + 2**(1/2))**2), (0, 0, 1), (0, 1, 0), (-1 + 2**(1

Re: Issue 1863 in sympy: nonlinear solver example stopped working

2010-11-14 Thread sympy
Comment #9 on issue 1863 by mattpap: nonlinear solver example stopped working http://code.google.com/p/sympy/issues/detail?id=1863 But we definitely need to get the new polys in place. Perhaps during winter break we can get this in? Yeah, this should be finally done. Currently I'm too bu

Re: Issue 2100 in sympy: nsimplify rarely works without setting the tolerance flag

2010-11-14 Thread sympy
Comment #4 on issue 2100 by asmeurer: nsimplify rarely works without setting the tolerance flag http://code.google.com/p/sympy/issues/detail?id=2100 I thought Real kept track of that information somewhere. -- You received this message because you are subscribed to the Google Groups "sympy-i

Re: Issue 1694 in sympy: solve has many issues with fractions

2010-11-14 Thread sympy
Comment #161 on issue 1694 by Vinzent.Steinberg: solve has many issues with fractions http://code.google.com/p/sympy/issues/detail?id=1694 Let's start a new one, this one is already huge, and I think you fixed the fraction issue. -- You received this message because you are subscribed to

Re: Issue 1363 in sympy: solve(-3*a/x**(S(1)/2), x) fails

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #3 on issue 1363 by Vinzent.Steinberg: solve(-3*a/x**(S(1)/2), x) fails http://code.google.com/p/sympy/issues/detail?id=1363 (No comment was entered for this change.) -- You received this message because you are subscribed to the

Re: Issue 1364 in sympy: simple equations involving log()

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #6 on issue 1364 by Vinzent.Steinberg: simple equations involving log() http://code.google.com/p/sympy/issues/detail?id=1364 (No comment was entered for this change.) -- You received this message because you are subscribed to the

Re: Issue 983 in sympy: improvement to solve()

2010-11-14 Thread sympy
Comment #8 on issue 983 by asmeurer: improvement to solve() http://code.google.com/p/sympy/issues/detail?id=983 So should this issue (and the others you edited recently) be marked as blocked on issue 1694? -- You received this message because you are subscribed to the Google Groups "sympy-i

Re: Issue 1365 in sympy: improve solve

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #15 on issue 1365 by Vinzent.Steinberg: improve solve http://code.google.com/p/sympy/issues/detail?id=1365 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "symp

Re: Issue 1367 in sympy: solve(exp(x)/(8*(a + x)**2), x) fails

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #5 on issue 1367 by Vinzent.Steinberg: solve(exp(x)/(8*(a + x)**2), x) fails http://code.google.com/p/sympy/issues/detail?id=1367 (No comment was entered for this change.) -- You received this message because you are subscribed t

Re: Issue 1694 in sympy: solve has many issues with fractions

2010-11-14 Thread sympy
Comment #162 on issue 1694 by nicolas.pourcelot: solve has many issues with fractions http://code.google.com/p/sympy/issues/detail?id=1694 Yes, I think the fraction issue is solved for a long time now, and huge changes are much more difficult to review. -- You received this message becaus

Re: Issue 1368 in sympy: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails

2010-11-14 Thread sympy
Comment #2 on issue 1368 by asmeurer: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails http://code.google.com/p/sympy/issues/detail?id=1368 I think it is zero. cos(I*x) == cosh(x) and sin(I*x) == sinh(x). If you do this, replace it with the exp definitions, and reduce the logs, you will

Re: Issue 1368 in sympy: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #3 on issue 1368 by Vinzent.Steinberg: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails http://code.google.com/p/sympy/issues/detail?id=1368 It is zero: In [16]: e.rewrite(exp).simplify().expand().cancel() Out[16]: 0 But the s

Re: Issue 1380 in sympy: solve(2*x/(x+2)-1,x) gives error

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #4 on issue 1380 by Vinzent.Steinberg: solve(2*x/(x+2)-1,x) gives error http://code.google.com/p/sympy/issues/detail?id=1380 (No comment was entered for this change.) -- You received this message because you are subscribed to the

Re: Issue 1398 in sympy: solve(1/(5+x)**(S(1)/5)-9, x) fails

2010-11-14 Thread sympy
Updates: Status: Started Owner: smichr Comment #6 on issue 1398 by Vinzent.Steinberg: solve(1/(5+x)**(S(1)/5)-9, x) fails http://code.google.com/p/sympy/issues/detail?id=1398 (No comment was entered for this change.) -- You received this message because you are subscribed to

Issue 2103 in sympy: fix sympy's internal dependencies

2010-11-14 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 2103 by Vinzent.Steinberg: fix sympy's internal dependencies http://code.google.com/p/sympy/issues/detail?id=2103 I used snakefood [1] to generate a dependency graph, see the attached pdf. Attachments: sympy-depe

Re: Issue 2015 in sympy: Hangs attempting to solve a system of linear equations

2010-11-14 Thread sympy
Comment #7 on issue 2015 by smichr: Hangs attempting to solve a system of linear equations http://code.google.com/p/sympy/issues/detail?id=2015 On my fairly modest system this takes about 16 seconds to do with the code appended below: for k,v in soln.items(): ... print k, v.count_o

Re: Issue 2103 in sympy: fix sympy's internal dependencies

2010-11-14 Thread sympy
Comment #1 on issue 2103 by ondrej.certik: fix sympy's internal dependencies http://code.google.com/p/sympy/issues/detail?id=2103 Not very readable to me. But looks quite complex. :) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to t

Re: Issue 1368 in sympy: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails

2010-11-14 Thread sympy
Comment #4 on issue 1368 by asmeurer: solve((a**2 + 1) * (sin(a*x) + cos(a*x)), x) fails http://code.google.com/p/sympy/issues/detail?id=1368 I have a much simpler and more powerful trigsimp() using .rewrite(exp) in the works I look forward to seeing that! There's also the approach by Fu

Re: Issue 2015 in sympy: Hangs attempting to solve a system of linear equations

2010-11-14 Thread sympy
Comment #8 on issue 2015 by asmeurer: Hangs attempting to solve a system of linear equations http://code.google.com/p/sympy/issues/detail?id=2015 It seems like that sort of thing would be easier to do using Matrix operations. -- You received this message because you are subscribed to the

Re: Issue 2103 in sympy: fix sympy's internal dependencies

2010-11-14 Thread sympy
Comment #2 on issue 2103 by asmeurer: fix sympy's internal dependencies http://code.google.com/p/sympy/issues/detail?id=2103 Wow! Can you remove the tests? I think those may be taking up a big chunk. Remove Pyglet and mpmath too. I think (hope) it should become a little more readable at

Re: Issue 2015 in sympy: Hangs attempting to solve a system of linear equations

2010-11-14 Thread sympy
Comment #9 on issue 2015 by smichr: Hangs attempting to solve a system of linear equations http://code.google.com/p/sympy/issues/detail?id=2015 In theory, it seems. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send

Re: Issue 2015 in sympy: Hangs attempting to solve a system of linear equations

2010-11-14 Thread sympy
Updates: Cc: asmeurer Comment #10 on issue 2015 by smichr: Hangs attempting to solve a system of linear equations http://code.google.com/p/sympy/issues/detail?id=2015 I checked this in t2 which uses traditional Matrix methods and it takes only 4X longer (60 seconds) rather than hang