25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
64 setParams(dist.getN());
83 protected void setParams(
int n) {
85 throw new IllegalArgumentException(
"n <= 0");
Extends the class ContinuousDistribution for the chi-square distribution with degrees of freedom,...
double inverseF(double u)
Returns the inverse distribution function .
ChiSquareGen(RandomStream s, ChiSquareDist dist)
Create a new generator for the distribution dist and stream s.
int getN()
Returns the value of for this object.
static double nextDouble(RandomStream s, int n)
Generates a new variate from the chi square distribution with.
ChiSquareGen(RandomStream s, int n)
Creates a chi square random variate generator with degrees of freedom, using stream s.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...
double nextDouble()
Returns a (pseudo)random number from the uniform distribution over the interval , using this stream,...