public static class MathUtils.RunningStat
extends java.lang.Object
Constructor and Description |
---|
RunningStat() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
double |
mean() |
long |
numDataValues() |
void |
push(double x) |
double |
standardDeviation() |
double |
variance() |
public void push(double x)
x
- the value to add to the running mean and variancepublic void clear()
public final long numDataValues()
public final double mean()
public double variance()
public double standardDeviation()