powered by
This function computes the Levi-Civita symbol depending on the permutations of the three inputs, lying in 0 to 2
levi_civita(i, j, k)
an integer 0, 1 or 2
0, 1 or -1 after computing the Levi-Civita symbol depending on the permutations of the three inputs 0, 1 and 2
https://en.wikipedia.org/wiki/Levi-Civita_symbol
# NOT RUN { init() levi_civita(0, 2, 1) levi_civita(1, 2, 0) levi_civita(1, 2, 1) # }
Run the code above in your browser using DataLab