umontreal.iro.lecuyer.randvar
Class JohnsonSBGen
- java.lang.Object
-
- umontreal.iro.lecuyer.randvar.RandomVariateGen
-
- umontreal.iro.lecuyer.randvar.JohnsonSBGen
-
public class JohnsonSBGen extends RandomVariateGen
This class implements random variate generators for the Johnson SB distribution.
-
-
Constructor Summary
Constructors Constructor and Description JohnsonSBGen(RandomStream s, double gamma, double delta, double xi, double lambda)Creates a JohnsonSB random variate generator.JohnsonSBGen(RandomStream s, JohnsonSBDist dist)Creates a new generator for the JohnsonSB distribution dist, using stream s.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetDelta()Returns the δ associated with this object.doublegetGamma()Returns the γ associated with this object.doublegetLambda()Returns the λ associated with this object.doublegetXi()Returns the ξ associated with this object.static doublenextDouble(RandomStream s, double gamma, double delta, double xi, double lambda)Uses inversion to generate a new JohnsonSB variate, using stream s.-
Methods inherited from class umontreal.iro.lecuyer.randvar.RandomVariateGen
getDistribution, getStream, nextArrayOfDouble, nextDouble, setStream, toString
-
-
-
-
Constructor Detail
-
JohnsonSBGen
public JohnsonSBGen(RandomStream s, double gamma, double delta, double xi, double lambda)
Creates a JohnsonSB random variate generator.
-
JohnsonSBGen
public JohnsonSBGen(RandomStream s, JohnsonSBDist dist)
Creates a new generator for the JohnsonSB 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 JohnsonSB variate, using stream s.
-
getGamma
public double getGamma()
Returns the γ associated with this object.
-
getDelta
public double getDelta()
Returns the δ associated with this object.
-
getXi
public double getXi()
Returns the ξ associated with this object.
-
getLambda
public double getLambda()
Returns the λ associated with this object.
-
-
DMelt 3.0 © DataMelt by jWork.ORG