org.ojalgo.random
Class Weibull

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

public class Weibull
extends RandomNumber

Useful as length of life distribution in reliability theory.

Author:
apete
See Also:
Serialized Form

Constructor Summary
Weibull()
           
Weibull(double aLambda, double aBeta)
           
 
Method Summary
 double getExpected()
          Estimated using a sample set.
 double getVariance()
          Estimated using a sample set.
 
Methods inherited from class org.ojalgo.random.RandomNumber
doubleValue, floatValue, getStandardDeviation, 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

Weibull

public Weibull()

Weibull

public Weibull(double aLambda,
               double aBeta)
Method Detail

getExpected

public double getExpected()
Estimated using a sample set.

See Also:
Distribution.getExpected()

getVariance

public double getVariance()
Estimated using a sample set.

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