SSJ
V. 2.6.2.

umontreal.iro.lecuyer.randvar
Class JohnsonSLGen

java.lang.Object
  extended by umontreal.iro.lecuyer.randvar.RandomVariateGen
      extended by umontreal.iro.lecuyer.randvar.JohnsonSLGen

public class JohnsonSLGen
extends RandomVariateGen

This class implements random variate generators for the Johnson SL distribution.


Constructor Summary
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.
 
Method Summary
 double getDelta()
          Returns the value of δ.
 double getGamma()
          Returns the value of γ.
 double getLambda()
          Returns the value of λ.
 double getXi()
          Returns the value of ξ.
static double nextDouble(RandomStream s, double gamma, double delta, double xi, double lambda)
          Uses inversion to generate a new JohnsonSL variate, 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

JohnsonSLGen

public JohnsonSLGen(RandomStream s,
                    double gamma,
                    double delta,
                    double xi,
                    double lambda)
Creates a JohnsonSL random variate generator.


JohnsonSLGen

public JohnsonSLGen(RandomStream s,
                    JohnsonSLDist dist)
Creates a new generator for the JohnsonSL distribution dist, using stream s.

Method Detail

nextDouble

public static double nextDouble(RandomStream s,
                                double gamma,
                                double delta,
                                double xi,
                                double lambda)
Uses inversion to generate a new JohnsonSL variate, using stream s.


getGamma

public double getGamma()
Returns the value of γ.


getDelta

public double getDelta()
Returns the value of δ.


getXi

public double getXi()
Returns the value of ξ.


getLambda

public double getLambda()
Returns the value of λ.


SSJ
V. 2.6.2.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.