Example usage for Java org.apache.commons.math3.stat.descriptive.summary Sum fields, constructors, methods, implement or subclass
The text is from its open source code.
Sum() Create a Sum instance |
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 | getResult() |
void | increment(final double d) |