public class JohnsonSUGen extends RandomVariateGen
| Constructor and Description |
|---|
JohnsonSUGen(RandomStream s,
double gamma,
double delta,
double xi,
double lambda)
Creates a JohnsonSU random variate generator.
|
JohnsonSUGen(RandomStream s,
JohnsonSUDist dist)
Creates a new generator for the JohnsonSU
distribution dist, using stream s.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDelta()
Returns the δ associated with this object.
|
double |
getGamma()
Returns the γ associated with this object.
|
double |
getLambda()
Returns the λ associated with this object.
|
double |
getXi()
Returns the ξ associated with this object.
|
static double |
nextDouble(RandomStream s,
double gamma,
double delta,
double xi,
double lambda)
Uses inversion to generate a new JohnsonSU variate,
using stream s.
|
getDistribution, getStream, nextArrayOfDouble, nextDouble, setStreampublic JohnsonSUGen(RandomStream s, double gamma, double delta, double xi, double lambda)
public JohnsonSUGen(RandomStream s, JohnsonSUDist dist)
public static double nextDouble(RandomStream s, double gamma, double delta, double xi, double lambda)
public double getGamma()
public double getDelta()
public double getXi()
public double getLambda()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.