public class VectorialStorelessStatistic extends Object implements StorelessMultivariateStatistic, Serializable
StorelessUnivariateStatistic instance
 for each component of a vector.| Constructor and Description | 
|---|
| VectorialStorelessStatistic(int dimension,
                           StorelessUnivariateStatistic univariateStatistic)Create a new VectorialStorelessStatistic with the given dimension
 and statistic implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clears the internal state of the statistic. | 
| boolean | equals(Object obj) | 
| int | getDimension()Returns the dimension of the statistic. | 
| long | getN()Returns the number of values that have been added. | 
| double[] | getResult()Returns the current value of the Statistic. | 
| int | hashCode() | 
| void | increment(double[] d)Updates the internal state of the statistic to reflect
 the addition of the new value. | 
public VectorialStorelessStatistic(int dimension,
                                   StorelessUnivariateStatistic univariateStatistic)
dimension - the vector dimensionunivariateStatistic - the prototype statisticMathIllegalArgumentException - if dimension < 1public void increment(double[] d)
increment in interface StorelessMultivariateStatisticd - the new valuepublic double[] getResult()
getResult in interface StorelessMultivariateStatisticDouble.NaN if it
 has been cleared or just instantiated.public long getN()
getN in interface StorelessMultivariateStatisticpublic void clear()
clear in interface StorelessMultivariateStatisticpublic int getDimension()
getDimension in interface StorelessMultivariateStatisticCopyright © 2016–2020 Hipparchus.org. All rights reserved.