Re: [sympy] Re: help on tensors

2010-05-27 Thread Alan Bromborsky
comer.dun...@gmail.com wrote: Aaron, Thanks very much. The material there seems very useful. Comer On May 26, 9:43 pm, "Aaron S. Meurer" wrote: git can help you find where things came from. Using git log -S"r+=str(idx)" —all and git describe , it looks like it used to be in an example

[sympy] Re: help on tensors

2010-05-27 Thread comer.dun...@gmail.com
Aaron, Thanks very much. The material there seems very useful. Comer On May 26, 9:43 pm, "Aaron S. Meurer" wrote: > git can help you find where things came from.  Using git log -S"r+=str(idx)" > —all and git describe , it looks like it > used to be in an example file called tensors.py that w

[sympy] Re: help on tensors

2010-05-27 Thread comer.dun...@gmail.com
Alan, Thanks for the reference. No, I don't own a copy of his book but the abstract index notation is part and parcel of doing general relativity. This appears to be a recent treatment, but this has been around many years. I may in fact buy his book as it seems worth taking a look at just to see

[sympy] Re: help on tensors

2010-05-27 Thread comer.dun...@gmail.com
Alan, Thanks _very_ much for your implementation. I will study it and think about doing additional steps. Comer On May 27, 9:12 am, Alan Bromborsky wrote: > comer.dun...@gmail.com wrote: > > Hi Ondrej, > > > This code is taken from something you put together which was called > > tensors.py in

Re: [sympy] expand option for factor behavior correct?

2010-05-27 Thread Aaron S. Meurer
expand() only expands the denominator when it gets the deep=True flag (because it is inside a Pow, namely, -1). So I guess factor needs to know to use that flag when it gets frac=True. The last item is a printing issue, and has nothing to do with factor or expand. Aaron Meurer On May 27, 20

[sympy] expand option for factor behavior correct?

2010-05-27 Thread smichr
Is the following behavior correct for factor? >>> from sympy import * >>> var('x y') (x, y) >>> eq = x*(1+2*y+y**2)+1+2*y+y**2 Here we show what happens with and without expand being set: >>> factor(eq,expand=0) 1 + 2*y + x*(1 + 2*y + y**2) + y**2 >>> factor(eq,expand=

Re: [sympy] Re: GSoC started

2010-05-27 Thread Ondrej Certik
On Thu, May 27, 2010 at 4:11 AM, jegerjensen wrote: > I started my blog at http://ojensen.wordpress.com/ Thanks, I have updated the list. It is now complete. Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to

Re: [sympy] Re: help on tensors

2010-05-27 Thread Michael Hoffman
I'm working on something similar, but the Scheme code is quite difficult to read and it is not fully implemented, there are some errors that are noted in the code to occur. I imagine these are fixable. I'm working specifically on differential geometry in general, not just tensors. Michael On Thu,

Re: [sympy] Re: help on tensors

2010-05-27 Thread Alan Bromborsky
Alan Bromborsky wrote: comer.dun...@gmail.com wrote: Hi Ondrej, This code is taken from something you put together which was called tensors.py in 0.6.3, at least that is where I found it on my system, since I still have 0.6.3 on my disk. I am currently using 0.6.6.6. I extracted the imports

Re: [sympy] Re: help on tensors

2010-05-27 Thread Alan Bromborsky
comer.dun...@gmail.com wrote: Hi Ondrej, This code is taken from something you put together which was called tensors.py in 0.6.3, at least that is where I found it on my system, since I still have 0.6.3 on my disk. I am currently using 0.6.6.6. I extracted the imports and the class defs from th

[sympy] Re: GSoC started

2010-05-27 Thread jegerjensen
I started my blog at http://ojensen.wordpress.com/ Øyvind On 27 Mai, 02:22, Ondrej Certik wrote: > Hi, > > the GSoC has started this Monday. All GSoC students are required to > blog at least once a week (but of course you can blog more often:), > the deadline is each Friday midnight PST (which i