Program that writes tensor equations out

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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.
 
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?