Permutations by swapping: Difference between revisions
Content added Content deleted
(cleaner version) |
m (minor edit) |
||
Line 2,338: | Line 2,338: | ||
} |
} |
||
function permutation |
function permutation([Object[]]$array) |
||
{ |
{ |
||
function generate([Object[]]$A, [Int]$k, [ref]$sign) |
function generate([Object[]]$A, [Int]$k, [ref]$sign) |