|
SSJ V. 1.2.5. |
||||||||
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.FisherFGen
public class FisherFGen
This class implements random variate generators for the Fisher F-distribution with n and m degrees of freedom, where n and m are positive integers. The density function of this distribution is
Constructor Summary | |
---|---|
FisherFGen(RandomStream s,
FisherFDist dist)
Creates a new generator for the distribution dist, using stream s. |
Method Summary | |
---|---|
double |
nextDouble()
Generates a random number from the continuous distribution contained in this object. |
static double |
nextDouble(RandomStream s,
int n,
int m)
Generates a variate from the Fisher F-distribution with n and m degrees of freedom, using stream s. |
Methods inherited from class umontreal.iro.lecuyer.randvar.RandomVariateGen |
---|
getDistribution, getStream, nextArrayOfDouble, setStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FisherFGen(RandomStream s, FisherFDist dist)
Method Detail |
---|
public double nextDouble()
RandomVariateGen
inverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.
nextDouble
in class RandomVariateGen
public static double nextDouble(RandomStream s, int n, int m)
|
SSJ V. 1.2.5. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |