25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
51 double x = noncenchigen.nextDouble();
52 double y = chigen.nextDouble();
53 return (x * nu2) / (y * nu1);
This class implements random variate generators with the chi square distribution with degrees of fre...
int getN()
Returns the value of for this object.
This class implements random variate generators for the noncentral chi square distribution with degr...
double getNu()
Returns the value of of this object.
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.
FNoncentralGen(ChiSquareNoncentralGen ncgen, ChiSquareGen cgen)
Creates a noncentral-F random variate generator using noncentral chi-square generator ncgen and chi-s...
void setChiSquareNoncentralGen(ChiSquareNoncentralGen ncgen)
Sets the noncentral chi-square generator to ncgen.