|
SSJ V. 2.6. |
||||||||
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.FNoncentralGen
public class FNoncentralGen
This class implements random variate generators for the noncentral F-distribution. If X is a noncentral chi-square random variable with ν1 > 0 degrees of freedom and noncentrality parameter λ > 0, and Y is a chi-square random variable (statistically independent of X) with ν2 > 0 degrees of freedom, then
Constructor Summary | |
---|---|
FNoncentralGen(ChiSquareNoncentralGen ncgen,
ChiSquareGen cgen)
Creates a noncentral-F random variate generator using noncentral chi-square generator ncgen and chi-square generator cgen. |
Method Summary | |
---|---|
double |
nextDouble()
Generates a random number from the continuous distribution contained in this object. |
void |
setChiSquareGen(ChiSquareGen cgen)
Sets the chi-square generator to cgen. |
void |
setChiSquareNoncentralGen(ChiSquareNoncentralGen ncgen)
Sets the noncentral chi-square generator to ncgen. |
Methods inherited from class umontreal.iro.lecuyer.randvar.RandomVariateGen |
---|
getDistribution, getStream, nextArrayOfDouble, setStream, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FNoncentralGen(ChiSquareNoncentralGen ncgen, ChiSquareGen cgen)
Method Detail |
---|
public double nextDouble()
RandomVariateGen
inverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.
nextDouble
in class RandomVariateGen
public void setChiSquareNoncentralGen(ChiSquareNoncentralGen ncgen)
public void setChiSquareGen(ChiSquareGen cgen)
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |