Levi-Civita symbol – codegolf.stackexchange.com

The three-dimensional Levi-Civita symbol is a function f taking triples of numbers (i,j,k) each in {1,2,3}, to {-1,0,1}, defined as:
f(i,j,k) = 0 when i,j,k are not distinct, i.e. i=j or j=k or k=i

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *