public class MeanVector extends Object
Constructor and Description |
---|
MeanVector() |
Modifier and Type | Method and Description |
---|---|
void |
reset() |
double[] |
update(double[] data)
Update the mean.
|
double[] |
update(double[] data,
boolean copy)
Update the mean.
|
double[] |
vec() |
public MeanVector()
public double[] update(double[] data)
data
- public double[] update(double[] data, boolean copy)
data
- copy
- public double[] vec()
public void reset()