This class implements random variate generators for the Johnson. More...
Public Member Functions | |
| JohnsonSLGen (RandomStream s, double gamma, double delta, double xi, double lambda) | |
| Creates a JohnsonSL random variate generator. | |
| JohnsonSLGen (RandomStream s, JohnsonSLDist dist) | |
| Creates a new generator for the JohnsonSL distribution dist, using stream s. | |
| Public Member Functions inherited from umontreal.ssj.randvar.JohnsonSystemG | |
| double | getGamma () |
| Returns the value of \(\gamma\). | |
| double | getDelta () |
| Returns the value of \(\delta\). | |
| double | getXi () |
| Returns the value of \(\xi\). | |
| double | getLambda () |
| Returns the value of \(\lambda\). | |
| Public Member Functions inherited from umontreal.ssj.randvar.RandomVariateGen | |
| RandomVariateGen (RandomStream s, Distribution dist) | |
| Creates a new random variate generator from the distribution dist, using stream s. | |
| double | nextDouble () |
| Generates a random number from the continuous distribution contained in this object. | |
| void | nextArrayOfDouble (double[] v, int start, int n) |
| Generates n random numbers from the continuous distribution contained in this object. | |
| double[] | nextArrayOfDouble (int n) |
| Generates n random numbers from the continuous distribution contained in this object, and returns them in a new array of size n. | |
| RandomStream | getStream () |
| Returns the umontreal.ssj.rng.RandomStream used by this generator. | |
| void | setStream (RandomStream stream) |
| Sets the umontreal.ssj.rng.RandomStream used by this generator to stream. | |
| Distribution | getDistribution () |
| Returns the umontreal.ssj.probdist.Distribution used by this generator. | |
| String | toString () |
| Returns a String containing information about the current generator. | |
Static Public Member Functions | |
| static double | nextDouble (RandomStream s, double gamma, double delta, double xi, double lambda) |
| Uses inversion to generate a new JohnsonSL variate, using stream s. | |
Additional Inherited Members | |
| Protected Member Functions inherited from umontreal.ssj.randvar.JohnsonSystemG | |
| JohnsonSystemG (RandomStream s, double gamma, double delta, double xi, double lambda) | |
| Constructs a JohnsonSystemG object with shape parameters. | |
| JohnsonSystemG (RandomStream s, ContinuousDistribution dist) | |
| Constructs a JohnsonSystemG object with parameters obtained from distribution dist. | |
| void | setParams (double gamma, double delta, double xi, double lambda) |
| Sets the value of the parameters \(\gamma\), \(\delta\),. | |
This class implements random variate generators for the Johnson.
\(S_L\) distribution.
<div class="SSJ-bigskip"></div>
Definition at line 39 of file JohnsonSLGen.java.
| umontreal.ssj.randvar.JohnsonSLGen.JohnsonSLGen | ( | RandomStream | s, |
| double | gamma, | ||
| double | delta, | ||
| double | xi, | ||
| double | lambda ) |
Creates a JohnsonSL random variate generator.
Definition at line 44 of file JohnsonSLGen.java.
| umontreal.ssj.randvar.JohnsonSLGen.JohnsonSLGen | ( | RandomStream | s, |
| JohnsonSLDist | dist ) |
Creates a new generator for the JohnsonSL distribution dist, using stream s.
Definition at line 53 of file JohnsonSLGen.java.
|
static |
Uses inversion to generate a new JohnsonSL variate, using stream s.
Definition at line 62 of file JohnsonSLGen.java.