public class ChiRatioOfUniformsGen extends ChiGen
| Constructor and Description |
|---|
ChiRatioOfUniformsGen(RandomStream s,
ChiDist dist)
Create a new generator for the distribution dist,
using stream s.
|
ChiRatioOfUniformsGen(RandomStream s,
int nu)
Creates a chi random variate generator with
ν = nu degrees of freedom, using stream s.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Generates a random number from the continuous distribution
contained in this object.
|
static double |
nextDouble(RandomStream s,
int nu) |
getDistribution, getStream, nextArrayOfDouble, setStreampublic ChiRatioOfUniformsGen(RandomStream s, int nu)
public ChiRatioOfUniformsGen(RandomStream s, ChiDist dist)
public double nextDouble()
RandomVariateGeninverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.nextDouble in class RandomVariateGenpublic static double nextDouble(RandomStream s, int nu)
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.