Re: Issue 1551 in sympy: StrPrinter is class sympy.printing.str and instance in sympy.core.basic

2010-04-08 Thread sympy
Comment #5 on issue 1551 by Toon.Verstraelen: StrPrinter is class sympy.printing.str and instance in sympy.core.basic http://code.google.com/p/sympy/issues/detail?id=1551 Ronan, with monkey-patching, do you mean defining new variables in a module from outside the module (similar for classes

Re: Issue 1356 in sympy: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg

2010-04-08 Thread sympy
Comment #14 on issue 1356 by Toon.Verstraelen: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg http://code.google.com/p/sympy/issues/detail?id=1356 I deduced that 'n' refers to the number of digits and 'prec' refers to the number of bytes. -- You re

Issue 1891 in sympy: RootOf has subs problems

2010-04-08 Thread sympy
Status: Accepted Owner: smichr Labels: Type-Defect Priority-Medium New issue 1891 by smichr: RootOf has subs problems http://code.google.com/p/sympy/issues/detail?id=1891 Here is a RootOf instance: r RootOf(y**5 + 11*y - 2, y, domain='ZZ', index=4) When one tries a substitution, an error is

Re: Issue 1891 in sympy: RootOf has subs problems

2010-04-08 Thread sympy
Updates: Status: Started Owner: mattpap Labels: Milestone-Release0.7.0 NeedsReview Polynomial Comment #1 on issue 1891 by mattpap: RootOf has subs problems http://code.google.com/p/sympy/issues/detail?id=1891 This issue was fixed with new RootOf implementation (see issue

Re: Issue 1890 in sympy: Quartic equation solution probably not correct

2010-04-08 Thread sympy
Comment #1 on issue 1890 by smichr: Quartic equation solution probably not correct http://code.google.com/p/sympy/issues/detail?id=1890 Quartic doesn't discriminate against symbolic input even though to select the proper root it has to know the sign of terms (like the discriminant in quadra

Re: Issue 1890 in sympy: Quartic equation solution probably not correct

2010-04-08 Thread sympy
Updates: Status: Accepted Labels: Milestone-Release0.7.0 Polynomial Comment #2 on issue 1890 by mattpap: Quartic equation solution probably not correct http://code.google.com/p/sympy/issues/detail?id=1890 We will need to simplify intermediate results if input is given with p

Issue 1892 in sympy: integrate(1/(x*(a+b*x)**3), x) fails

2010-04-08 Thread sympy
Status: Accepted Owner: ondrej.certik Labels: Type-Defect Priority-Medium New issue 1892 by ondrej.certik: integrate(1/(x*(a+b*x)**3), x) fails http://code.google.com/p/sympy/issues/detail?id=1892 In [6]: var("a b") Out[6]: (a, b) In [7]: integrate(1/(x*(a+b*x)**3), x) ERROR: An unexpected erro

Re: Issue 1892 in sympy: integrate(1/(x*(a+b*x)**3), x) fails

2010-04-08 Thread sympy
Updates: Owner: --- Comment #1 on issue 1892 by ondrej.certik: integrate(1/(x*(a+b*x)**3), x) fails http://code.google.com/p/sympy/issues/detail?id=1892 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this iss

Re: Issue 1356 in sympy: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg

2010-04-08 Thread sympy
Updates: Cc: fredrik.johansson Comment #15 on issue 1356 by Vinzent.Steinberg: evalf(), sstr(), pretty(), latex(), ... should raise an exception if passed wrong kwarg http://code.google.com/p/sympy/issues/detail?id=1356 I see. In mpmath, 'prec' is the number of bits (not bytes) and 'd

Issue 1893 in sympy: integrate(log(x) * gamma_pdf, (x, 0, oo)) hangs

2010-04-08 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 1893 by ondrej.certik: integrate(log(x) * gamma_pdf, (x, 0, oo)) hangs http://code.google.com/p/sympy/issues/detail?id=1893 I was trying to compute the expected value of log(x) under the gamma distribution, but sympy h

Re: Issue 1893 in sympy: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs

2010-04-08 Thread sympy
Updates: Summary: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs Labels: Integration Comment #1 on issue 1893 by asmeurer: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs http://code.google.com/p/sympy/issues/detail?id=1893 The indefinite i

Re: Issue 1892 in sympy: integrate(1/(x*(a+b*x)**3), x) fails

2010-04-08 Thread sympy
Updates: Labels: Integration Comment #2 on issue 1892 by asmeurer: integrate(1/(x*(a+b*x)**3), x) fails http://code.google.com/p/sympy/issues/detail?id=1892 It used to work, before the new polys: In [1]: var('a b');integrate(1/(x*(a+b*x)**3), x) Out[1]: (a, b) Out[1]: ⎛

Re: Issue 1893 in sympy: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs

2010-04-08 Thread sympy
Comment #2 on issue 1893 by mierle: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs http://code.google.com/p/sympy/issues/detail?id=1893 But Wolfram's integration engine seems to handle it. Do you mean the definite integral can't be computed? -- You received this messa

Re: Issue 1893 in sympy: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs

2010-04-08 Thread sympy
Comment #3 on issue 1893 by asmeurer: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs http://code.google.com/p/sympy/issues/detail?id=1893 Yes. If you just do x (no limits), Maple returns the integral unevaluated. It doesn't look like limit can handle unevaluated Integra

Re: Issue 1893 in sympy: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs

2010-04-08 Thread sympy
Comment #4 on issue 1893 by mattpap: integrate(log(x) * x**(k-1) * exp(-x) / gamma(k), (x, 0, oo)) hangs http://code.google.com/p/sympy/issues/detail?id=1893 Things like x**k can't be handled by heuristic Risch algorithm, I'm sure that also by the recursive version. This is a case where int

Re: Issue 1892 in sympy: integrate(1/(x*(a+b*x)**3), x) fails

2010-04-08 Thread sympy
Updates: Status: Started Owner: mattpap Labels: Polynomial Milestone-Release0.7.0 Comment #3 on issue 1892 by mattpap: integrate(1/(x*(a+b*x)**3), x) fails http://code.google.com/p/sympy/issues/detail?id=1892 This is trivial to fix, and I will fix this soon. -- You recei