JuliaMath / JuliaMath/Combinatorics.jl

Levi-Civita call is unhelpful.

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
230
Forks
62
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.