public final class Statistics extends Object
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
static double |
avg(double... numbers)
Sample average.
|
static double |
avg(Expression f,
Argument index,
double from,
double to,
double delta)
Average from sample function values - iterative operator.
|
static double |
std(double... numbers)
Sample standard deviation (biased-corrected).
|
static double |
std(Expression f,
Argument index,
double from,
double to,
double delta)
Bias-corrected standard deviation from sample function values - iterative operator.
|
static double |
var(double... numbers)
Sample variance (biased-corrected).
|
static double |
var(Expression f,
Argument index,
double from,
double to,
double delta)
Bias-corrected variance from sample function values - iterative operator.
|
public static final double avg(Expression f, Argument index, double from, double to, double delta)
f - the expressionindex - the name of index argumentfrom - FROM index = formto - TO index = todelta - BY deltaExpression,
Argumentpublic static final double var(Expression f, Argument index, double from, double to, double delta)
f - the expressionindex - the name of index argumentfrom - FROM index = formto - TO index = todelta - BY deltaExpression,
Argumentpublic static final double std(Expression f, Argument index, double from, double to, double delta)
f - the expressionindex - the name of index argumentfrom - FROM index = formto - TO index = todelta - BY deltaExpression,
Argumentpublic static final double avg(double... numbers)
numbers - the numberspublic static final double var(double... numbers)
numbers - the numberspublic static final double std(double... numbers)
numbers - the numbersCopyright © 2017. All rights reserved.