org.encog.mathutil
Class NumericRange
java.lang.Object
org.encog.mathutil.NumericRange
public class NumericRange
- extends Object
A numeric range has a high, low, mean, root-mean-square, standard deviation,
and the count of how many samples it contains.
NumericRange
public NumericRange(List<Double> values)
- Create a numeric range from a list of values.
- Parameters:
values - The values to calculate for.
getHigh
public double getHigh()
- Returns:
- The high number in the range.
getLow
public double getLow()
- Returns:
- The low number in the range.
getMean
public double getMean()
- Returns:
- The mean in the range.
getRms
public double getRms()
- Returns:
- The root mean square of the range.
getSamples
public int getSamples()
- Returns:
- The number of samples in the range.
getStandardDeviation
public double getStandardDeviation()
- Returns:
- The standard deviation of the range.
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.