Comment on SourceCode in sympy

2011-06-05 Thread sympy
Comment by sj441...@naver.com: integrate For more information: http://code.google.com/p/sympy/wiki/SourceCode -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe

Re: Issue 1227 in sympy: Integration failure

2011-06-05 Thread sympy
Comment #4 on issue 1227 by plaes...@gmail.com: Integration failure http://code.google.com/p/sympy/issues/detail?id=1227 This actually works when I specify that R, b and h are positive. Should we document it somewhere in the gotchas section? -- You received this message because you are

Issue 2447 in sympy: ((-1)**Rational(1,3)).evalf() returns wrong result

2011-06-05 Thread sympy
Status: Accepted Owner: plaes...@gmail.com Labels: Type-Defect Priority-Medium WrongResult New issue 2447 by plaes...@gmail.com: ((-1)**Rational(1,3)).evalf() returns wrong result http://code.google.com/p/sympy/issues/detail?id=2447 Ran into following gem today: In [28]:

Issue 2448 in sympy: integrate hangs

2011-06-05 Thread sympy
Status: Accepted Owner: Vinzent.Steinberg Labels: Type-Defect Priority-Medium Integration New issue 2448 by Vinzent.Steinberg: integrate hangs http://code.google.com/p/sympy/issues/detail?id=2448 Iz (z, -L/2, L/2) integrate(r0**2*cos(z)**2, Iz) -r0**2*(-L/4 - sin(L/2)*cos(L/2)/2) +

Issue 2449 in sympy: improve transform

2011-06-05 Thread sympy
Status: Accepted Owner: Vinzent.Steinberg Labels: Type-Enhancement Priority-Medium Integration New issue 2449 by Vinzent.Steinberg: improve transform http://code.google.com/p/sympy/issues/detail?id=2449 var('w t') (w, t) i = Integral(cos(w*t), (t, 0, 1)) i.transform(w*t, t)

Issue 2450 in sympy: pull free symbols out of Integral

2011-06-05 Thread sympy
Status: Started Owner: Vinzent.Steinberg Labels: Type-Defect Priority-Medium Integration New issue 2450 by Vinzent.Steinberg: pull free symbols out of Integral http://code.google.com/p/sympy/issues/detail?id=2450 For instance Integral(cos(t)/w, (t, 0, w)) could be simplified to

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2011-06-05 Thread sympy
Comment #24 on issue 1467 by matt...@gmail.com: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 btw. For sorting expressions we have sort_key, e.g.: In [1]: sorted([3, -I, I, 2 + I], key=lambda expr: sympify(expr).sort_key()) Out[1]: [3,

Re: Issue 2404 in sympy: PolificationFailed needs to be imported in polysys

2011-06-05 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview PassedReview Comment #6 on issue 2404 by matt...@gmail.com: PolificationFailed needs to be imported in polysys http://code.google.com/p/sympy/issues/detail?id=2404 (No comment was entered for this change.) -- You received this

Re: Issue 2448 in sympy: integrate hangs

2011-06-05 Thread sympy
Comment #1 on issue 2448 by asmeurer: integrate hangs http://code.google.com/p/sympy/issues/detail?id=2448 It doesn't hang for me. This is what I get. By the way, the problem is not the extra symbols, but that the first integral is cos(x)**2 and the second one is cos(x**2)**2 (due to the

Re: Issue 2449 in sympy: improve transform

2011-06-05 Thread sympy
Comment #1 on issue 2449 by asmeurer: improve transform http://code.google.com/p/sympy/issues/detail?id=2449 See also issue 2297. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this group, send email to

Re: Issue 1961 in sympy: integration works too hard

2011-06-05 Thread sympy
Comment #10 on issue 1961 by asmeurer: integration works too hard http://code.google.com/p/sympy/issues/detail?id=1961 Issue 2450 has been merged into this issue. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this group, send email

Re: Issue 2450 in sympy: pull free symbols out of Integral

2011-06-05 Thread sympy
Updates: Status: Duplicate Mergedinto: 1961 Comment #1 on issue 2450 by asmeurer: pull free symbols out of Integral http://code.google.com/p/sympy/issues/detail?id=2450 This has already been discussed, and rejected. Integral.doit() should pull out constants (actually, it

Issue 2451 in sympy: Position of power in pretty printed functions

2011-06-05 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Low Printing New issue 2451 by asmeurer: Position of power in pretty printed functions http://code.google.com/p/sympy/issues/detail?id=2451 We pretty print powers of functions before the args, like In [8]: f(1/x)**2 Out[8]: 2 ⎛1⎞

Re: Issue 2451 in sympy: Position of power (and function) in pretty printed functions

2011-06-05 Thread sympy
Updates: Summary: Position of power (and function) in pretty printed functions Comment #1 on issue 2451 by asmeurer: Position of power (and function) in pretty printed functions http://code.google.com/p/sympy/issues/detail?id=2451 Thinking about it, I think it would look better for

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Updates: Summary: Implement heuristics for integrating common algebraic functions Comment #5 on issue 1393 by asmeurer: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 (No comment was entered for this change.) --

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

2011-06-05 Thread sympy
Issue 1397: solve fails for a sum of two fractions http://code.google.com/p/sympy/issues/detail?id=1397 This issue is now blocking issue 1227. See http://code.google.com/p/sympy/issues/detail?id=1227 -- You received this message because you are listed in the owner or CC fields of this issue, or

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Issue 1393: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 This issue is now blocking issue 1304. See http://code.google.com/p/sympy/issues/detail?id=1304 -- You received this message because you are listed in the owner or CC

Re: Issue 1304 in sympy: Integrate sqrt(x**2 + y**2) fails

2011-06-05 Thread sympy
Updates: Blockedon: 1393 Comment #14 on issue 1304 by asmeurer: Integrate sqrt(x**2 + y**2) fails http://code.google.com/p/sympy/issues/detail?id=1304 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups sympy-issues

Re: Issue 1020 in sympy: integrate(sqrt(y**2 - x**2)/x, x) can't do it

2011-06-05 Thread sympy
Updates: Blockedon: 1393 Comment #3 on issue 1020 by asmeurer: integrate(sqrt(y**2 - x**2)/x, x) can't do it http://code.google.com/p/sympy/issues/detail?id=1020 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Issue 1393: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 This issue is now blocking issue 1020. See http://code.google.com/p/sympy/issues/detail?id=1020 -- You received this message because you are listed in the owner or CC

Re: Issue 1323 in sympy: integrate(1/sqrt(16 + 4*x**2), x) fails

2011-06-05 Thread sympy
Updates: Blockedon: 1393 Comment #5 on issue 1323 by asmeurer: integrate(1/sqrt(16 + 4*x**2), x) fails http://code.google.com/p/sympy/issues/detail?id=1323 The fix from issue 1393 would be a good fix. -- You received this message because you are subscribed to the Google Groups

Re: Issue 1392 in sympy: integrate(x*sqrt(x**2+2*x+4), x) can't do it yet

2011-06-05 Thread sympy
Updates: Blockedon: 1393 Comment #1 on issue 1392 by asmeurer: integrate(x*sqrt(x**2+2*x+4), x) can't do it yet http://code.google.com/p/sympy/issues/detail?id=1392 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Issue 1393: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 This issue is now blocking issue 1323. See http://code.google.com/p/sympy/issues/detail?id=1323 -- You received this message because you are listed in the owner or CC

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Comment #10 on issue 1393 by asmeurer: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 I've added a bunch of issues blocking this one. The heuristics should be able to do the integrals from all of those. -- You

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Issue 1393: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 This issue is now blocking issue 1394. See http://code.google.com/p/sympy/issues/detail?id=1394 -- You received this message because you are listed in the owner or CC

Re: Issue 1394 in sympy: integrate(x*sqrt(1+2*x), x) can't do it yet

2011-06-05 Thread sympy
Updates: Labels: -NeedsReview NeedsBetterPatch Blockedon: 1393 Comment #3 on issue 1394 by asmeurer: integrate(x*sqrt(1+2*x), x) can't do it yet http://code.google.com/p/sympy/issues/detail?id=1394 (No comment was entered for this change.) -- You received this message

Re: Issue 2363 in sympy: integrate(1/(x**2+y**2)**(Rational(3,2)),x) fails

2011-06-05 Thread sympy
Updates: Blockedon: 1393 Comment #4 on issue 2363 by asmeurer: integrate(1/(x**2+y**2)**(Rational(3,2)),x) fails http://code.google.com/p/sympy/issues/detail?id=2363 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Re: Issue 1393 in sympy: Implement heuristics for integrating common algebraic functions

2011-06-05 Thread sympy
Issue 1393: Implement heuristics for integrating common algebraic functions http://code.google.com/p/sympy/issues/detail?id=1393 This issue is now blocking issue 2363. See http://code.google.com/p/sympy/issues/detail?id=2363 -- You received this message because you are listed in the owner or CC

Re: Issue 2447 in sympy: ((-1)**Rational(1,3)).evalf() returns wrong result

2011-06-05 Thread sympy
Updates: Status: Invalid Comment #1 on issue 2447 by asmeurer: ((-1)**Rational(1,3)).evalf() returns wrong result http://code.google.com/p/sympy/issues/detail?id=2447 That isn't wrong. See http://www.wolframalpha.com/input/?i=(-1)**(1/3) (it agrees to all the digits that SymPy

Re: Issue 2305 in sympy: Integer.isqrt and similar shouldn't be a method

2011-06-05 Thread sympy
Updates: Status: WontFix Comment #19 on issue 2305 by asmeurer: Integer.isqrt and similar shouldn't be a method http://code.google.com/p/sympy/issues/detail?id=2305 Well, I didn't hear any more opinions, so I guess I'll just have to make a decision. Let's just leave them. It's

Re: Issue 2411 in sympy: Revert _op_priority deletion

2011-06-05 Thread sympy
Updates: Status: Fixed Comment #7 on issue 2411 by asmeurer: Revert _op_priority deletion http://code.google.com/p/sympy/issues/detail?id=2411 I pushed my branch. _op_priority will be in the release, though it will eventually be replaced with something completely different (and

Re: Issue 2305 in sympy: Integer.isqrt and similar shouldn't be a method

2011-06-05 Thread sympy
Comment #20 on issue 2305 by matt...@gmail.com: Integer.isqrt and similar shouldn't be a method http://code.google.com/p/sympy/issues/detail?id=2305 As to those short cuts, there is no conflict between gcd() and Integer.gcd(), e.g.: In [9]: gcd(Integer(2), Integer(4)) Out[9]: 2 In [10]:

Re: Issue 2420 in sympy: Refactor EPath

2011-06-05 Thread sympy
Updates: Status: Accepted Labels: asmeurer Ronan.Lamy Comment #4 on issue 2420 by asmeurer: Refactor EPath http://code.google.com/p/sympy/issues/detail?id=2420 I made a patch from Ronan's pull request with just the commits I am +1 to (see the discussion over there). It's at

Issue 2452 in sympy: Problem with function evaluation

2011-06-05 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2452 by peterjef...@gmail.com: Problem with function evaluation http://code.google.com/p/sympy/issues/detail?id=2452 Please forgive any poor technique in reporting issues, I'm new to this process (if you know of any

Re: Issue 2452 in sympy: Problem with function evaluation

2011-06-05 Thread sympy
Updates: Status: Fixed Comment #1 on issue 2452 by asmeurer: Problem with function evaluation http://code.google.com/p/sympy/issues/detail?id=2452 Well, I have some good news for you. This has all been fixed in the development branch, and will be in the next release: In [24]: f =

Re: Issue 2452 in sympy: Problem with function evaluation

2011-06-05 Thread sympy
Updates: Labels: Polynomial Simplify Comment #2 on issue 2452 by asmeurer: Problem with function evaluation http://code.google.com/p/sympy/issues/detail?id=2452 Oh, and for what it's worth, your issue summary could have been better. Something like apart((x**2 - 4*x -1)/((x - 1)**2 *

Issue 2453 in sympy: abs(sympy.I * sympy.pi) evaluates incorrectly

2011-06-05 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2453 by austin.l...@gmail.com: abs(sympy.I * sympy.pi) evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2453 abs(sympy.I * sympy.pi) I*pi This clearly should just be pi. Tested with git at

Re: Issue 2453 in sympy: abs(sympy.I * sympy.pi) evaluates incorrectly

2011-06-05 Thread sympy
Updates: Status: Accepted Labels: WrongResult Comment #1 on issue 2453 by asmeurer: abs(sympy.I * sympy.pi) evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2453 (No comment was entered for this change.) -- You received this message because you are

Re: Issue 2453 in sympy: abs(sympy.I * sympy.pi) evaluates incorrectly

2011-06-05 Thread sympy
Comment #2 on issue 2453 by asmeurer: abs(sympy.I * sympy.pi) evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2453 It works when the imaginary part is a Number, but apparently not when it is some symbolic (but) real number: In [3]: abs(I) Out[3]: 1 In [4]: abs(I*2)