org.ojalgo.random
Class Deterministic

java.lang.Object
  extended by java.lang.Number
      extended by org.ojalgo.random.RandomNumber
          extended by org.ojalgo.random.Deterministic
All Implemented Interfaces:
Serializable, Function<Double>, NullaryFunction<Double>, Distribution

public class Deterministic
extends RandomNumber

Author:
apete
See Also:
Serialized Form

Constructor Summary
Deterministic(double aValue)
           
Deterministic(Number aValue)
           
 
Method Summary
 double getExpected()
           
 double getStandardDeviation()
          Subclasses must override either getStandardDeviation() or getVariance()!
 double getVariance()
          Subclasses must override either getStandardDeviation() or getVariance()!
 
Methods inherited from class org.ojalgo.random.RandomNumber
doubleValue, floatValue, intValue, invoke, longValue, toString
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Deterministic

public Deterministic(double aValue)

Deterministic

public Deterministic(Number aValue)
Method Detail

getExpected

public double getExpected()

getStandardDeviation

public double getStandardDeviation()
Description copied from class: RandomNumber
Subclasses must override either getStandardDeviation() or getVariance()!

Specified by:
getStandardDeviation in interface Distribution
Overrides:
getStandardDeviation in class RandomNumber
See Also:
Distribution.getStandardDeviation(), Distribution.getVariance()

getVariance

public double getVariance()
Description copied from class: RandomNumber
Subclasses must override either getStandardDeviation() or getVariance()!

Specified by:
getVariance in interface Distribution
Overrides:
getVariance in class RandomNumber
See Also:
Distribution.getStandardDeviation(), Distribution.getVariance()