| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double[] values,
double[] weights)
Returns the result of evaluating the statistic over the input array,
using the supplied weights.
|
double |
evaluate(double[] values,
double[] weights,
int begin,
int length)
Returns the result of evaluating the statistic over the specified entries
in the input array, using corresponding entries in the supplied weights array.
|
double evaluate(double[] values,
double[] weights)
values - input arrayweights - array of weightsdouble evaluate(double[] values,
double[] weights,
int begin,
int length)
values - the input arrayweights - array of weightsbegin - the index of the first element to includelength - the number of elements to include