UnivariateStatistic
org.apache.commons.math3.stat.descriptive

Interface UnivariateStatistic

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      UnivariateStatisticcopy()
      Returns a copy of the statistic with the same internal state.
      doubleevaluate(double[] values)
      Returns the result of evaluating the statistic over the input array.
      doubleevaluate(double[] values, int begin, int length)
      Returns the result of evaluating the statistic over the specified entries in the input array.
    • Method Detail

      • evaluate

        double evaluate(double[] values,              int begin,              int length)                throws MathIllegalArgumentException
        Returns the result of evaluating the statistic over the specified entries in the input array.
        Specified by:
        evaluate in interface MathArrays.Function
        Parameters:
        values - the input array
        begin - the index of the first element to include
        length - the number of elements to include
        Returns:
        the value of the statistic applied to the included array entries
        Throws:
        MathIllegalArgumentException - if values is null or the indices are invalid
      • copy

        UnivariateStatistic copy()
        Returns a copy of the statistic with the same internal state.
        Returns:
        a copy of the statistic

SCaVis 2.0 © jWork.ORG