[sympy] Re: parallel testing of sympy with ipython

2009-03-21 Thread Ondrej Certik
On Thu, Mar 19, 2009 at 1:13 PM, Brian Granger 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 > sitting in starbuck

[sympy] Re: Google Summer of Code 2009

2009-03-21 Thread asmeurer
On Mar 20, 2:41 pm, Ondrej Certik wrote: > Yes, just search this list for examples of applications. Definitely > start on this as soon as possible and prepare a schedule etc. You can > then easily fit it on the template that PSF will put up. > > Ondrej Well, Python posted their template, and the

[sympy] Re: need tensor code

2009-03-21 Thread Ondrej Certik
On Sat, Mar 21, 2009 at 6:24 PM, comer.dun...@gmail.com wrote: > > Ondrej, > > Yes, the relativity.py example works. However, I want to do indicial > tensor algebra and was hoping tensor.py is a start in that direction. > The tensor.py included with the dist sympy-0.6.3 in examples is what I Ah,

[sympy] Re: need tensor code

2009-03-21 Thread comer.dun...@gmail.com
Ondrej, Yes, the relativity.py example works. However, I want to do indicial tensor algebra and was hoping tensor.py is a start in that direction. The tensor.py included with the dist sympy-0.6.3 in examples is what I hacked. I don't see a way to attach a file in posting. I would have attached t

[sympy] Re: need tensor code

2009-03-21 Thread Ondrej Certik
On Sat, Mar 21, 2009 at 2:04 PM, comer.dun...@gmail.com wrote: > > Ondrej, > > I have taken the tensor.py script and have stripped out most of it, > wanting to see just how far it gets before crashing.  Here is what I > have: Which tensor.py have you taken? > > > from sympy import exp, Symbol,

[sympy] Re: need tensor code

2009-03-21 Thread comer.dun...@gmail.com
Ondrej, I have taken the tensor.py script and have stripped out most of it, wanting to see just how far it gets before crashing. Here is what I have: from sympy import exp, Symbol, sin, Rational, Derivative, dsolve from sympy.core import Basic, Function from sympy.matrices import Matrix clas

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

2009-03-21 Thread Ondrej Certik
On Sat, Mar 21, 2009 at 5:58 AM, Vinzent Steinberg 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) occurs, I just want to replace it. > WildFunction() seems to be broken. That's a good question.

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

2009-03-21 Thread k
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. So in the definition of an instance I needed to replace V=Vertex('V') with V=Vertex('V',set([])) On Mar 21, 8:35 p

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

2009-03-21 Thread Vinzent Steinberg
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) occurs, I just want to replace it. WildFunction() seems to be broken. Vinzent On 21 Mrz., 08:03, Ondrej Certik wrote: > On Fri, Mar 20, 2009 at 10:05 PM, Akshay S

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

2009-03-21 Thread Neal Becker
There is also igraph with a python interface. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to s

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

2009-03-21 Thread Ondrej Certik
On Fri, Mar 20, 2009 at 10:32 PM, Yau Kwan Kiu wrote: > > Hello. > I am new to SymPy and I don't know if you have the Graph class in > SymPy, but I am playing with my Graph.py anyway (see below). We don't, as far as I know and it would be cool to have it. Thanks for doing it. > > I have a quest

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

2009-03-21 Thread Ondrej Certik
On Fri, Mar 20, 2009 at 10:05 PM, Akshay Srinivasan wrote: > > Here is a nice paper on Trignometric Simplification - > http://vv.cn/d/d.aspx?Id=21987_1.0.42119 Very cool! Thanks a lot for sharing it. Let's implement it in sympy. Ondrej --~--~-~--~~~---~--~~ You