Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Is there a new name definition for this function?

When type all_contractions( );

output: NameError: name 'all_contractions' is not defined

At: (2):

in General questions by (180 points)

1 Answer

+2 votes

This doesn't exist at the moment, as people had the wrong ideas about what this would do, and solving the problem properly is more complicated than you might think. In particular, it is quite nontrivial to take into account dimension-dependent identities between tensor monomials. There is ongoing work to get more general purpose algorithms in cadabra which handle this, but all_contractions does not have the highest priority at the moment.

by (83.1k points)
...