|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.randvar.RandomVariateGen umontreal.iro.lecuyer.randvar.GumbelGen
public class GumbelGen
This class implements methods for generating random variates from the Gumbel distribution. Its density is given by
Constructor Summary | |
---|---|
GumbelGen(RandomStream s)
Creates a Gumbel random number generator with β = 1 and δ = 0 using stream s. |
|
GumbelGen(RandomStream s,
double beta,
double delta)
Creates a Gumbel random number generator with parameters β = beta and δ = delta using stream s. |
|
GumbelGen(RandomStream s,
GumbelDist dist)
Creates a new generator for the Gumbel distribution dist and stream s. |
Method Summary | |
---|---|
double |
getBeta()
Returns the parameter β. |
double |
getDelta()
Returns the parameter δ. |
static double |
nextDouble(RandomStream s,
double beta,
double delta)
Generates a new variate from the Gumbel distribution with parameters β = beta and δ = delta using stream s. |
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 GumbelGen(RandomStream s)
public GumbelGen(RandomStream s, double beta, double delta)
public GumbelGen(RandomStream s, GumbelDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, double beta, double delta)
public double getBeta()
public double getDelta()
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |