import sys
from sympy.tensor.tensor import *
#sys.path.append('../')
#from tensor import *
to
import sys
#from sympy.tensor.tensor import *
sys.path.append('../')
from tensor import *
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 / ?
[oy@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