|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.randvar.RandomVariateGen
umontreal.iro.lecuyer.randvar.BetaGen
public class BetaGen
BetaGen
This class implements random variate generators with the beta distribution with shape parameters α > 0 and β > 0, over the interval (a, b), where a < b. The density function of this distribution is
Constructor Summary | |
---|---|
BetaGen(RandomStream s,
BetaDist dist)
. |
|
BetaGen(RandomStream s,
double alpha,
double beta)
. |
|
BetaGen(RandomStream s,
double alpha,
double beta,
double a,
double b)
. |
Method Summary | |
---|---|
double |
getA()
. |
double |
getAlpha()
. |
double |
getB()
. |
double |
getBeta()
. |
static double |
nextDouble(RandomStream s,
double alpha,
double beta,
double a,
double b)
. |
Methods inherited from class umontreal.iro.lecuyer.randvar.RandomVariateGen |
---|
getDistribution, getStream, nextArrayOfDouble, nextDouble, setStream, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BetaGen(RandomStream s, double alpha, double beta, double a, double b)
public BetaGen(RandomStream s, double alpha, double beta)
public BetaGen(RandomStream s, BetaDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, double alpha, double beta, double a, double b)
public double getAlpha()
public double getBeta()
public double getA()
public double getB()
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |