|
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.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. |
|
FisherFGen(RandomStream s,
int n,
int m)
Creates a Fisher F random variate generator with n and m degrees of freedom, using stream s. |
Method Summary | |
---|---|
int |
getM()
Returns the parameter p of this object. |
int |
getN()
Returns the parameter n of 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, nextDouble, setStream, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FisherFGen(RandomStream s, int n, int m)
public FisherFGen(RandomStream s, FisherFDist dist)
Method Detail |
---|
public static double nextDouble(RandomStream s, int n, int m)
public int getN()
public int getM()
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |