|
SSJ V. 2.6. |
||||||||
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.FrechetGen
public class FrechetGen
This class implements methods for generating random variates from the Fréchet distribution, with location parameter δ, scale parameter β > 0, and shape parameter α > 0, where we use the notation z = (x - δ)/β. It has density
Constructor Summary | |
---|---|
FrechetGen(RandomStream s,
double alpha)
Creates a Fréchet random number generator with α = alpha, β = 1 and δ = 0 using stream s. |
|
FrechetGen(RandomStream s,
double alpha,
double beta,
double delta)
Creates a Fréchet random number generator with parameters α = alpha, β = beta and δ = delta using stream s. |
|
FrechetGen(RandomStream s,
FrechetDist dist)
Creates a new generator for the Fréchet distribution dist and stream s. |
Method Summary | |
---|---|
double |
getAlpha()
Returns the parameter α. |
double |
getBeta()
Returns the parameter β. |
double |
getDelta()
Returns the parameter δ. |
static double |
nextDouble(RandomStream s,
double alpha,
double beta,
double delta)
Generates a new variate from the Fréchet distribution with parameters α = alpha, β = 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 FrechetGen(RandomStream s, double alpha)
public FrechetGen(RandomStream s, double alpha, double beta, double delta)
public FrechetGen(RandomStream s, FrechetDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, double alpha, double beta, double delta)
public double getAlpha()
public double getBeta()
public double getDelta()
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |