Issue 1336 in sympy: Arbitrary constant type

2009-03-22 Thread codesite-noreply
Comment #3 on issue 1336 by fredrik.johansson: Arbitrary constant type http://code.google.com/p/sympy/issues/detail?id=1336 Interesting idea. How do you determine what and what not to fold into the constant? For example, suppose you have a function f(x,y) where y is a parameter and the

Issue 1336 in sympy: Arbitrary constant type

2009-03-22 Thread codesite-noreply
Comment #6 on issue 1336 by asmeurer: Arbitrary constant type http://code.google.com/p/sympy/issues/detail?id=1336 That was a bad example. I should try to do math this soon after waking up. The one I listed above in the original issue is a better one. You get the idea anyway. -- You

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

2009-03-22 Thread codesite-noreply
Comment #4 on issue 1304 by akshaysrinivasan: Integrate sqrt(x**2 + y**2) fails http://code.google.com/p/sympy/issues/detail?id=1304 Yes, but the problem is that M[b] which here is y**2 doesn't have the is_positive data descriptor. I'm still confused whether a symbol is assumed to be real

Issue 1337 in sympy: find all instances in an expression

2009-03-22 Thread codesite-noreply
Comment #3 on issue 1337 by ondrej.certik: find all instances in an expression http://code.google.com/p/sympy/issues/detail?id=1337 If you could make it more sophisticated, it'd be great. :) -- You received this message because you are listed in the owner or CC fields of this issue, or

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

2009-03-22 Thread codesite-noreply
Comment #6 on issue 1304 by akshaysrinivasan: Integrate sqrt(x**2 + y**2) fails http://code.google.com/p/sympy/issues/detail?id=1304 Mateusz: You were right, I apologise for posting without looking closely. I tried what you suggested, but ended up getting errors sympy.polys.polynomial for

Re: [PATCH 1/1] Added test to prevent divide by zero

2009-03-22 Thread Ondrej Certik
On Sat, Mar 21, 2009 at 9:37 PM, Aaron Meurer asmeu...@gmail.com wrote: ---  sympy/solvers/solvers.py |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sympy/solvers/solvers.py b/sympy/solvers/solvers.py index 60a1ef5..6d97225 100644 --- a/sympy/solvers/solvers.py

Re: Boolean Algebra module

2009-03-22 Thread Vinzent Steinberg
On Mar 21, 4:04 pm, Akshay Srinivasan akshaysriniva...@gmail.com wrote: On Mar 21, 3:52 pm, Vinzent Steinbergvinzent.steinb...@googlemail.com wrote: Assumptions are currently borked in sympy (thus Fabian's rewrite). But Indeed. The whole assumptions part looks very messy. I tried to each of

Re: Boolean Algebra module

2009-03-22 Thread Akshay Srinivasan
Shouldn't it be better to implement the assumptions system with specialised classes instead of using strings and some make-shift classes ? A sort of abstraction layer, so to speak. Keeping the layer itself small will make it easier to implement it in Cython and should be enough to more than

[PATCH 0/2] Add preliminary solver for separable differential equations case

2009-03-22 Thread Priit Laes
Hey! I played a bit with sympy and when trying to solve some quasilinear differential equations, but had to first make sure that sympy can handle some simpler forms of PDEs. The patches can be seen from: https://code.plaes.org/git/sympy/log/?h=pde-upstream Cheers, Priit :)

[PATCH 1/1] Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-22 Thread Aaron Meurer
--- sympy/solvers/tests/test_solvers.py |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/sympy/solvers/tests/test_solvers.py b/sympy/solvers/tests/test_solvers.py index 389b661..017accf 100644 --- a/sympy/solvers/tests/test_solvers.py +++

Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-22 Thread Priit Laes
Why not fix the cause, instead of hiding the problem: diff --git a/sympy/solvers/solvers.py b/sympy/solvers/solvers.py index 60a1ef5..6d97225 100644 --- a/sympy/solvers/solvers.py +++ b/sympy/solvers/solvers.py @@ -584,7 +584,7 @@ def solve_ODE_first_order(eq, f): n = Wild('n',

[sympy] Re: parallel testing of sympy with ipython

2009-03-22 Thread Ondrej Certik
On Thu, Mar 19, 2009 at 1:13 PM, Brian Granger ellisonbg@gmail.com wrote: Ondrej, I need to take my kids somewhere but the answer to your question is *yes absolutely*, you can interact with a controller and engine running on a cluster somewhere from an ipython session on your laptop

[sympy] Re: Google Summer of Code 2009

2009-03-22 Thread Fredrik Johansson
On Sun, Mar 22, 2009 at 5:02 AM, asmeurer asmeu...@gmail.com wrote: This is a great project; I hope this gets accepted. • Am I missing anything important here? * Implement the (generalized) hypergeometric differential equation and add hypergeometric functions like Bessel and Airy functions to

[sympy] Re: A question on the use of self in __init__

2009-03-22 Thread Vinzent Steinberg
On Mar 21, 3:45 pm, k yaukwan...@gmail.com wrote: Thank you all. Ondrej, I tried again and I think the structure can be kept as is, only that I the mutable default set([]) should be avoided since it is assigned one per class. You could also use frozenset(), which is immutable. Vinzent

[sympy] Re: Teaching simplify to do atan (issue 636)

2009-03-22 Thread Vinzent Steinberg
On Mar 21, 5:01 pm, Ondrej Certik ond...@certik.cz wrote: On Sat, Mar 21, 2009 at 5:58 AM, Vinzent Steinberg vinzent.steinb...@googlemail.com wrote: What is the best way to replace tan(x) with sin(x)/cos(x)? *.match() does not seem to be suited, because I don't care where tan (x)

[sympy] Re: Teaching simplify to do atan (issue 636)

2009-03-22 Thread Vinzent Steinberg
On 22 Mrz., 11:39, Vinzent Steinberg vinzent.steinb...@googlemail.com wrote: e.find() would be really useful, often you just want to find a term and don't care whether it's nested in some other expressions. It should be relatively easy to implement. See

[sympy] Re: Google Summer of Code 2009

2009-03-22 Thread Ondrej Certik
On Sun, Mar 22, 2009 at 9:13 AM, asmeurer asmeu...@gmail.com wrote: On Mar 22, 3:55 am, Fredrik Johansson fredrik.johans...@gmail.com wrote: This is a great project; I hope this gets accepted. Does sympy review the applications relating to it directly, or does python choose for it.  Perhaps

[sympy] GSOC2009 idea - equations of mathematical physics

2009-03-22 Thread Priit Laes
Hey, Well, this is another application from someone interested in having partial differential equations (PDE) support in Sympy :) As you all might already know - solving PDEs is not easy and solving them analytically is even harder. My plan is to tackle some useful differential equations that