|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.randvar.RandomVariateGen umontreal.iro.lecuyer.randvar.ChiSquareNoncentralGen
public class ChiSquareNoncentralGen
This class implements random variate generators for the
noncentral chi square distribution with ν > 0 degrees of freedom
and noncentrality parameter
λ > 0. See the definition in
ChiSquareNoncentralDist
.
Constructor Summary | |
---|---|
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 nu = ν > 0 degrees of freedom and noncentrality parameter lambda = λ > 0, using stream s. |
Method Summary | |
---|---|
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 nu = ν degrees of freedom and noncentrality parameter lambda = λ, 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 |
---|
public ChiSquareNoncentralGen(RandomStream s, double nu, double lambda)
public ChiSquareNoncentralGen(RandomStream s, ChiSquareNoncentralDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, double nu, double lambda)
public double getNu()
public double getLambda()
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |