Class PercentageAboveThreshold
- java.lang.Object
-
- org.apache.plc4x.java.scraper.util.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 Summary
Constructors Constructor Description PercentageAboveThreshold(double threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.math3.stat.descriptive.UnivariateStatisticcopy()doubleevaluate(double[] values)doubleevaluate(double[] values, int begin, int length)
-
-
-
Method Detail
-
evaluate
public double evaluate(double[] values) throws org.apache.commons.math3.exception.MathIllegalArgumentException- Specified by:
evaluatein interfaceorg.apache.commons.math3.util.MathArrays.Function- Specified by:
evaluatein interfaceorg.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:
evaluatein interfaceorg.apache.commons.math3.util.MathArrays.Function- Specified by:
evaluatein interfaceorg.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:
copyin interfaceorg.apache.commons.math3.stat.descriptive.UnivariateStatistic
-
-