Constructor | Description |
---|---|
RunningStat() |
Modifier and Type | Method | 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()