Have a look at this if it may be helpful: http://docs.sympy.org/latest/modules/tensor/tensor.html#sympy.tensor.tensor.TensorHead
Unfortunately that module needs some rewriting (possibly API changes), but it is already able to manage polynomial tensor expressions. On Saturday, 29 August 2015 15:07:50 UTC+2, Matt Chan wrote: > > Ahh. Thanks for letting me know about the author. > > I haven't tried matrices. It shouldn't be enough though. It's fairly > common to have high rank tensors in these equations too. Something like the > numpy arrays are necessary I think. > > I'll start digging through the source tonight. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5ec62686-f6ce-44e8-9dbf-a5eaa9a0e2c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
