public class VectorialMean extends Object implements Serializable
| Constructor and Description |
|---|
VectorialMean(int dimension)
Constructs a VectorialMean.
|
public VectorialMean(int dimension)
dimension - vectors dimensionpublic void increment(double[] v)
v - vector to addDimensionMismatchException - if the vector does not have the right dimensionpublic double[] getResult()
public long getN()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.