Interface StorelessMultivariateStatistic

All Known Implementing Classes:
VectorialStorelessStatistic

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

    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 Link icon

    • increment Link icon

      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 Link icon

      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 Link icon

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

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

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