|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.randvar.RandomVariateGen
umontreal.iro.lecuyer.randvar.FNoncentralGen
public class FNoncentralGen
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)
. |
Method Summary | |
---|---|
double |
nextDouble()
Generates a random number from the continuous distribution contained in this object. |
void |
setChiSquareGen(ChiSquareGen cgen)
. |
void |
setChiSquareNoncentralGen(ChiSquareNoncentralGen 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. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |