public final class Statistics
extends java.lang.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 |
median(double... numbers)
Sample median
|
static double |
mode(double... numbers)
Sample mode
|
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
,
Argument
public 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
,
Argument
public 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
,
Argument
public 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 numberspublic static final double median(double... numbers)
numbers
- List of numberpublic static final double mode(double... numbers)
numbers
- List of number