Program that writes tensor equations out

3 replies · 2K views · last reply
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.
 
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?