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)
evaluate
in interface MathArrays.Function
values
- input arrayMathIllegalArgumentException
- if values is nulldouble evaluate(double[] values, int begin, int length)
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()
Copyright © 2019 CNES. All rights reserved.