org.mrd.random
Class LimitedGamma

java.lang.Object
  |
  +--cern.colt.PersistentObject
        |
        +--cern.jet.random.AbstractDistribution
              |
              +--cern.jet.random.AbstractContinousDistribution
                    |
                    +--cern.jet.random.Gamma
                          |
                          +--org.mrd.random.LimitedGamma
All Implemented Interfaces:
java.lang.Cloneable, cern.colt.function.DoubleFunction, cern.colt.function.IntFunction, java.io.Serializable

public class LimitedGamma
extends cern.jet.random.Gamma

Author:
administrator
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cern.jet.random.Gamma
alpha, lambda, shared
 
Fields inherited from class cern.jet.random.AbstractDistribution
randomGenerator
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
LimitedGamma(double alpha, double lambda, edu.cornell.lassp.houle.RngPack.RandomElement random)
          Creates a new instance of Gamma
LimitedGamma(double arg0, double arg1, edu.cornell.lassp.houle.RngPack.RandomElement random, boolean byMean, boolean limitVariance)
          Creates a new instance of Gamma
 
Method Summary
 double getAlpha()
          Getter for property alpha.
 double getLambda()
          Getter for property beta.
 double getMean()
          Getter for property mean.
 double getStd()
          Getter for property std.
 double getVariance()
          Getter for property variance.
 
Methods inherited from class cern.jet.random.Gamma
cdf, nextDouble, nextDouble, pdf, setState, staticNextDouble, toString
 
Methods inherited from class cern.jet.random.AbstractDistribution
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextInt, setRandomGenerator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LimitedGamma

public LimitedGamma(double alpha,
                    double lambda,
                    edu.cornell.lassp.houle.RngPack.RandomElement random)
Creates a new instance of Gamma


LimitedGamma

public LimitedGamma(double arg0,
                    double arg1,
                    edu.cornell.lassp.houle.RngPack.RandomElement random,
                    boolean byMean,
                    boolean limitVariance)
Creates a new instance of Gamma

Method Detail

getAlpha

public double getAlpha()
Getter for property alpha.

Returns:
Value of property alpha.

getLambda

public double getLambda()
Getter for property beta.

Returns:
Value of property beta.

getMean

public double getMean()
Getter for property mean.

Returns:
Value of property mean.

getStd

public double getStd()
Getter for property std.

Returns:
Value of property std.

getVariance

public double getVariance()
Getter for property variance.

Returns:
Value of property variance.


Copyright © 2000-2003 Mark Robert Diggory. All Rights Reserved.