Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Levi-Civita call is unhelpful. #137

Open
andrewkhardy opened this issue Apr 12, 2023 · 0 comments
Open

Levi-Civita call is unhelpful. #137

andrewkhardy opened this issue Apr 12, 2023 · 0 comments

Comments

@andrewkhardy
Copy link

andrewkhardy commented Apr 12, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant