Open metal-pony opened 2 years ago
++ Repeat permutations
and combinations
methods for String
Also include some simple stats functions (mean/average (optional interquartile), median, variance, std dev)
public static float mean(int... values);
// Repeat for other types + Lists.
public static float mean(int... values, boolean interquartile);
// Override of above, also repeat for all implemented mean().
public static int median(int... values);
public static float variance(int... values);
// Repeat
public static float stddev(int... values);
// Repeat, is just java.lang.Math.sqrt(variance(values))
Mostly closed by sparklicorn/utility#23 Still would like nChooseK methods and tests before closing this.
Implement the following: