|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnivariateStatistic
Base interface implemented by all statistics.
Method Summary | |
---|---|
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. |
Method Detail |
---|
double evaluate(double[] values) throws MathIllegalArgumentException
evaluate
in interface MathArrays.Function
values
- input array
MathIllegalArgumentException
- 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 include
MathIllegalArgumentException
- if values is null or the indices are invalidUnivariateStatistic copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |