Esempio n. 1
0
 public static IPermutation ToPermutation(this IRando rando, uint order)
 {
     return(new Permutation(
                order: order,
                terms: rando.FisherYatesShuffle(0u.CountUp(order).ToArray())
                .ToArray()));
 }