public interface UnivariateStatistic extends MathArrays.Function
Modifier and Type | Method and Description |
---|---|
UnivariateStatistic |
copy()
Returns a copy of the statistic with the same internal state.
|
double |
evaluate(double[] values)
Returns the result of evaluating the statistic over the input array.
|
double |
evaluate(double[] values,
int begin,
int length)
Returns the result of evaluating the statistic over the specified entries
in the input array.
|
double evaluate(double[] values) throws MathIllegalArgumentException
evaluate
in interface MathArrays.Function
values
- input arrayMathIllegalArgumentException
- if values is nulldouble evaluate(double[] values, int begin, int length) throws MathIllegalArgumentException
evaluate
in interface MathArrays.Function
values
- the input arraybegin
- the index of the first element to includelength
- the number of elements to includeMathIllegalArgumentException
- if values is null or the indices are invalidUnivariateStatistic copy()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics