You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the function levicivita to take the permutations iterator as an input, so that something like this
Using Combinatorics
vectors = [[1],[2],[2]]
perms = permutations(vectors)
lvtensor = levicivita(perms)
parr = collect(perms)
for i in 1:size(parr)
result += lvtensor[i]*prod(parr[i])
does the Einstein summation that the tensor is used for. What is the actual syntax for this and is it possible to change it to the more proper / intuitive syntax?
The text was updated successfully, but these errors were encountered:
I would expect the function
levicivita
to take the permutations iterator as an input, so that something like thisdoes the Einstein summation that the tensor is used for. What is the actual syntax for this and is it possible to change it to the more proper / intuitive syntax?
The text was updated successfully, but these errors were encountered: