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) throws DimensionMismatchException
v
- vector to addDimensionMismatchException
- if the vector does not have the right dimensionpublic double[] getResult()
public long getN()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.