org.encog.mathutil
Class NumericRange

java.lang.Object
  extended by 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.


Constructor Summary
NumericRange(List<Double> values)
          Create a numeric range from a list of values.
 
Method Summary
 double getHigh()
           
 double getLow()
           
 double getMean()
           
 double getRms()
           
 int getSamples()
           
 double getStandardDeviation()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumericRange

public NumericRange(List<Double> values)
Create a numeric range from a list of values.

Parameters:
values - The values to calculate for.
Method Detail

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.