Program that writes tensor equations out

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 1K views
JonnyMaddox
Messages
74
Reaction score
1
Hi, I'm looking for a program that spits out fully summed index equations. For example [itex]T_{ii}[/itex] in, out comes [itex]T_{11}+T_{22}+...[/itex] and so on, with Einstein summation convention.
 
Physics news on Phys.org
Some programming languages have features to iterate over arrays. MATLAB is one example.

However I've not seen any that will do the expansion.

Why do you need this?