Řyvind Jensen wrote:
I'm running it in my working directory without installing it.  I added a
__init__.py file with just the line "import tensor", and now it works.

[...@ubuntulaptop sympy (alan)]$ cat sympy/tensor/__init__.py
import tensor

The problem I see with regard to using the functions associated with 'Expr' is the problem with the tensor contraction operation. If it were not for contraction subclassing 'Expr' would be a great idea. I would welcome any ideas on how to make 'Expr' compatible with contraction. Could there be a problem in subclassing 'Expr' when the required operators are more that just +,-,*, and / ?


What is the specific problem with the tensor contraction?

Řyvind

How do you make substitute check and see if the co and contra-variant ranks of the tensor being substituted are the same as the original?

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to