public class ChiSquareNoncentralGen extends RandomVariateGen
ChiSquareNoncentralDist.| Constructor and Description |
|---|
ChiSquareNoncentralGen(RandomStream s,
ChiSquareNoncentralDist dist)
Create a new generator for the distribution dist
and stream s.
|
ChiSquareNoncentralGen(RandomStream s,
double nu,
double lambda)
Creates a noncentral chi square random variate generator
with ν > 0 degrees of freedom and noncentrality parameter λ > 0,
using stream s.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLambda()
Returns the value of λ for this object.
|
double |
getNu()
Returns the value of ν of this object.
|
static double |
nextDouble(RandomStream s,
double nu,
double lambda)
Generates a new variate from the noncentral chi square
distribution with ν degrees of freedom and noncentrality parameter λ,
using stream s.
|
getDistribution, getStream, nextArrayOfDouble, nextDouble, setStreampublic ChiSquareNoncentralGen(RandomStream s, double nu, double lambda)
public ChiSquareNoncentralGen(RandomStream s, ChiSquareNoncentralDist dist)
public static double nextDouble(RandomStream s, double nu, double lambda)
public double getNu()
public double getLambda()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.