|
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.PowerGen
public class PowerGen
PowerGen
This class implements random variate generators for the power distribution with shape parameter c > 0, over the interval [a, b]. Its density is
Constructor Summary | |
---|---|
PowerGen(RandomStream s,
double c)
. |
|
PowerGen(RandomStream s,
double a,
double b,
double c)
. |
|
PowerGen(RandomStream s,
PowerDist dist)
. |
Method Summary | |
---|---|
double |
getA()
. |
double |
getB()
. |
double |
getC()
. |
static double |
nextDouble(RandomStream s,
double a,
double b,
double c)
. |
void |
setParams(double a,
double b,
double c)
. |
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 PowerGen(RandomStream s, double a, double b, double c)
public PowerGen(RandomStream s, double c)
public PowerGen(RandomStream s, PowerDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, double a, double b, double c)
public double getA()
public double getB()
public double getC()
public void setParams(double a, double b, double c)
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |