Is there any easy way to explicitly contract indices of several given tensors.
For example,
F = {F11, F12, F13, F14, F15};
psi = {{0, f1011, f1021, f1031, f1041},{0, 0, f1051, f1061, f10171},
{0, 0, 0, f1081, f1091},{0, 0, 0, 0, f10101},{0, 0, 0, 0, 0}}
and I want to evaluate $F_{x}\psi_{ab}\psi_{cd} \epsilon^{xabcd}$, where $\epsilon$ is the LeviCivita symbol or similar equations, as $\psi_{ba}\psi_{bd} F_{d}$. Is there any package or inbuild function that enables to enter such computations in a non-confusing manner? So far, I tried to work with workarounds like this and using Inner, which becomes quite confusing as soon as there are several tensors involved. All packages I was able to find are built specifically for computations in general relativity and thus not really straight-forward to use for such computations.
d
in the Levi-Civita symbol used in the question is six, but the dimension of indexd
inpsi
is five. How is the sum overd
to be constructed? $\endgroup$