Class PercentageAboveThreshold

  • All Implemented Interfaces:
    org.apache.commons.math3.stat.descriptive.UnivariateStatistic, org.apache.commons.math3.util.MathArrays.Function

    public class PercentageAboveThreshold
    extends Object
    implements org.apache.commons.math3.stat.descriptive.UnivariateStatistic
    • Constructor Detail

      • PercentageAboveThreshold

        public PercentageAboveThreshold​(double threshold)
    • Method Detail

      • evaluate

        public double evaluate​(double[] values)
                        throws org.apache.commons.math3.exception.MathIllegalArgumentException
        Specified by:
        evaluate in interface org.apache.commons.math3.util.MathArrays.Function
        Specified by:
        evaluate in interface org.apache.commons.math3.stat.descriptive.UnivariateStatistic
        Throws:
        org.apache.commons.math3.exception.MathIllegalArgumentException
      • evaluate

        public double evaluate​(double[] values,
                               int begin,
                               int length)
                        throws org.apache.commons.math3.exception.MathIllegalArgumentException
        Specified by:
        evaluate in interface org.apache.commons.math3.util.MathArrays.Function
        Specified by:
        evaluate in interface org.apache.commons.math3.stat.descriptive.UnivariateStatistic
        Throws:
        org.apache.commons.math3.exception.MathIllegalArgumentException
      • copy

        public org.apache.commons.math3.stat.descriptive.UnivariateStatistic copy()
        Specified by:
        copy in interface org.apache.commons.math3.stat.descriptive.UnivariateStatistic