1
Vote

Add k-permutation capability

description

This will cause several breaking changes. Constructor signatures will change to be symmetrical with the Combination and Multicombination classes. Property names will change.

Iterating over
new Permutation (choices:3, picks:2).GetRows()
will produce:
{ 0, 1 }
{ 0, 2 }
{ 1, 0 }
{ 1, 2 }
{ 2, 0 }
{ 2, 1 }

comments