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.
Field Summary |
static int |
FIVE
Display to five decimal places. |
FIVE
public static final int FIVE
- Display to five decimal places.
- See Also:
- Constant Field Values
NumericRange
public NumericRange(List<Double> values)
- Create a numeric range from a list of values.
- Parameters:
values
- The values to calculate for.
getHigh
public final double getHigh()
- Returns:
- The high number in the range.
getLow
public final double getLow()
- Returns:
- The low number in the range.
getMean
public final double getMean()
- Returns:
- The mean in the range.
getRms
public final double getRms()
- Returns:
- The root mean square of the range.
getSamples
public final int getSamples()
- Returns:
- The number of samples in the range.
getStandardDeviation
public final double getStandardDeviation()
- Returns:
- The standard deviation of the range.
toString
public final String toString()
-
- Overrides:
toString
in class Object
Copyright © 2014. All Rights Reserved.