Exemple #1
0
 public static T RandomOrDefault <T>(this IEnumerable <T> ts, MersenneTwister r)
 {
     return(Random(ts, r, false));
 }
Exemple #2
0
 public static T Random <T>(this IEnumerable <T> ts, MersenneTwister r)
 {
     return(Random(ts, r, true));
 }