Program that writes tensor equations out

Click For Summary
A user is seeking a program capable of generating fully summed index equations using Einstein summation convention, specifically looking for functionality that expands expressions like T_{ii} into T_{11}+T_{22}+... and so forth. MATLAB is mentioned as having array iteration features, but the user notes a lack of expansion capabilities in programming languages. Maxima is suggested as a potential solution, with a reference to its documentation, although the user acknowledges familiarity with Maxima already.
JonnyMaddox
Messages
74
Reaction score
1
Hi, I'm looking for a program that spits out fully summed index equations. For example T_{ii} in, out comes T_{11}+T_{22}+... 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?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
746
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K