Hi Comer,

On Wed, Mar 18, 2009 at 9:17 AM, comer.dun...@gmail.com
<comer.dun...@gmail.com> wrote:
>
> I am interested in using Sympy but see on the web page that
> implementing tensors is rather low on the list of interested
> additional features.  Can the developers give some indication as to
> when tensor algebra will be added to Sympy?

When we find someone interested in pushing this forward. If you'd be
interested, play with some very preliminary code here:

$ python examples/advanced/relativity.py
[...]
solve the Einstein's equations:
           ⎛     C₂⎞
λ(r) = -log⎜C₁ + ──⎟
           ⎝     r ⎠
metric:
⎡      C₂                         ⎤
⎢-C₁ - ──     0     0       0     ⎥
⎢      r                          ⎥
⎢                                 ⎥
⎢             1                   ⎥
⎢   0      ───────  0       0     ⎥
⎢               C₂                ⎥
⎢          C₁ + ──                ⎥
⎢               r                 ⎥
⎢                                 ⎥
⎢                    2            ⎥
⎢   0         0     r       0     ⎥
⎢                                 ⎥
⎢                        2    2   ⎥
⎣   0         0     0   r ⋅sin (θ)⎦


It allows you to calculate the Schwarzschild metrics pretty easily.
However, it'd be nice to polish the classes in there, and make it part
of sympy, write tests for it, more examples etc. If you'd be
interested in helping out, I fully support it.

> I do general relativity
> and thus need tensor capability.

Yes, I would love to do more advanced stuff in GR as well with sympy.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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 sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to