Permutations/Rank of a permutation: Difference between revisions

Content deleted Content added
CalmoSoft (talk | contribs)
No edit summary
CalmoSoft (talk | contribs)
Line 1,553:
pos -= 1
if pos <= 0 permutationReverse(a, 1, elementcount)
return ok
ok
end
last = elementcount