Example usage for Java org.apache.commons.math.stat.descriptive.moment Mean fields, constructors, methods, implement or subclass
The text is from its open source code.
Mean() Constructs a Mean. |
void | clear() |
double | evaluate(final double[] values) This default implementation calls #clear , then invokes #increment in a loop over the the input array, and then uses #getResult to compute the return value. |
double | evaluate(final double[] values, final int begin, final int length) Returns the arithmetic mean of the entries in the specified portion of the input array, or Double.NaN if the designated subarray is empty. |
long | getN() |
double | getResult() |
void | increment(final double d) |
void | incrementAll(double[] values) This default implementation just calls #increment in a loop over the input array. |