public class Statistics
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
static Double |
corrcoef(List<Double> a,
List<Double> b) |
static Double |
covariance(List<Double> a,
List<Double> b) |
static List<Double> |
exp(List<Double> a) |
static List<Double> |
log(List<Double> a) |
static void |
main(Rail<String> args) |
static List<Double> |
map(List<Double> a,
Fun_0_1 <Double,Double> f)
Declaration: map(a:List[Double], f:(Double)=>Double):List[Double].
NOTE: Replace its elements in place; do NOT create its elements.
|
static Double |
mean(List<Double> a) |
static Double |
regcoef(List<Double> x,
List<Double> y) |
static Long |
roulette(Random random,
List<Double> weights) |
static Double |
sum(List<Double> a) |
static Double |
sumofproducts(List<Double> a,
List<Double> b) |
static Double |
sumofsquares(List<Double> a) |
static Double |
variance(List<Double> a) |
public static Double sum(List<Double> a)
public static Double sumofproducts(List<Double> a, List<Double> b)
public static Double sumofsquares(List<Double> a)
public static Double mean(List<Double> a)
public static Double variance(List<Double> a)
public static Double covariance(List<Double> a, List<Double> b)
public static Double corrcoef(List<Double> a, List<Double> b)
public static Double regcoef(List<Double> x, List<Double> y)
public static List<Double> map(List<Double> a, Fun_0_1 <Double,Double> f)
NOTE: Replace its elements in place; do NOT create its elements.
public static List<Double> log(List<Double> a)
public static List<Double> exp(List<Double> a)
public static Long roulette(Random random, List<Double> weights)
public static void main(Rail<String> args)