Permutations by swapping: Difference between revisions

Content added Content deleted
Line 57:
_1 _2 _1 3</lang>
 
Alternatively, J defines [http://www.jsoftware.com/help/dictionary/dccapdot.htm C.!.2] as the parity of a permutation:
 
<lang J> (,.~C.!.2)<:| bfsjtn^:(i.!3) bfjt0 3