org.encog.mathutil
Class NumericRange
- java.lang.Object
-
- org.encog.mathutil.NumericRange
-
public class NumericRange extends java.lang.ObjectA numeric range has a high, low, mean, root-mean-square, standard deviation, and the count of how many samples it contains.
-
-
Field Summary
Fields Modifier and Type Field and Description static intFIVEDisplay to five decimal places.
-
Constructor Summary
Constructors Constructor and Description NumericRange(java.util.List<java.lang.Double> values)Create a numeric range from a list of values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetHigh()doublegetLow()doublegetMean()doublegetRms()intgetSamples()doublegetStandardDeviation()java.lang.StringtoString()
-
-
-
Field Detail
-
FIVE
public static final int FIVE
Display to five decimal places.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NumericRange
public NumericRange(java.util.List<java.lang.Double> values)
Create a numeric range from a list of values.- Parameters:
values- The values to calculate for.
-
-
Method Detail
-
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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG