
public class MeanVarianceMinMax extends MeanVariance
| Modifier and Type | Field and Description | 
|---|---|
| (package private) double | maxMaximum value | 
| (package private) double | minMinimum value | 
nvar| Constructor and Description | 
|---|
| MeanVarianceMinMax()Constructor. | 
| MeanVarianceMinMax(MeanVarianceMinMax other)Constructor cloning existing statistics. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getDiff()Return the difference between minimum and maximum. | 
| DoubleMinMax | getDoubleMinMax()Get the current minimum and maximum. | 
| double | getMax()Get the current maximum. | 
| double | getMin()Get the current minimum. | 
| static MeanVarianceMinMax[] | newArray(int dimensionality)Create and initialize a new array of MeanVarianceMinMax | 
| void | put(double val)Add a single value with weight 1.0 | 
| void | put(double val,
   double weight)Add data with a given weight. | 
| void | put(Mean other)Join the data of another MeanVariance instance. | 
| void | reset()Reset the value. | 
| String | toString() | 
denormalizeValue, getCount, getMean, getNaiveStddev, getNaiveVariance, getSampleStddev, getSampleVariance, normalizeValuepublic MeanVarianceMinMax()
public MeanVarianceMinMax(MeanVarianceMinMax other)
other - Existing statisticspublic void put(double val)
MeanVarianceput in class MeanVarianceval - Valuepublic void put(double val,
       double weight)
MeanVarianceput in class MeanVarianceval - dataweight - weightpublic void put(Mean other)
MeanVarianceput in class MeanVarianceother - Data to join withpublic double getMin()
public double getMax()
public DoubleMinMax getDoubleMinMax()
public double getDiff()
public static MeanVarianceMinMax[] newArray(int dimensionality)
dimensionality - Dimensionalitypublic String toString()
toString in class MeanVariancepublic void reset()
Meanreset in class MeanVariance