Interface StorelessMultivariateStatistic

All Known Implementing Classes:
VectorialStorelessStatistic

public interface StorelessMultivariateStatistic
Base interface implemented by storeless multivariate statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the internal state of the statistic.
    int
    Returns the dimension of the statistic.
    long
    Returns the number of values that have been added.
    double[]
    Returns the current value of the Statistic.
    void
    increment(double[] d)
    Updates the internal state of the statistic to reflect the addition of the new value.
  • Method Details

    • increment

      void increment(double[] d)
      Updates the internal state of the statistic to reflect the addition of the new value.
      Parameters:
      d - the new value
    • getResult

      double[] getResult()
      Returns the current value of the Statistic.
      Returns:
      value of the statistic, Double.NaN if it has been cleared or just instantiated.
    • getN

      long getN()
      Returns the number of values that have been added.
      Returns:
      the number of values.
    • clear

      void clear()
      Clears the internal state of the statistic.
    • getDimension

      int getDimension()
      Returns the dimension of the statistic.
      Returns:
      the dimension of the statistic