26package umontreal.ssj.randvar;
28import umontreal.ssj.rng.*;
65 if (lambda > 4290000000.0)
66 throw new UnsupportedOperationException(
" lambda too large");
70 return poisGenere(stream, nu, lambda);
80 return poisGenere(stream, nu, lambda);
85 private static double poisGenere(
RandomStream s,
double nu,
double lambda) {
void setParams(double nu, double lambda)
Sets the parameters nu and lambda of this object.
ChiSquareNoncentralGen(RandomStream s, double nu, double lambda)
Creates a noncentral chi square random variate generator with nu.
static double nextDouble(RandomStream stream, double nu, double lambda)
Generates a variate from the noncentral chi square distribution with parameters  nu,...
ChiSquareNoncentralPoisGen(RandomStream stream, double nu, double lambda)
Creates a noncentral chi square random variate generator with.
double nextDouble()
Generates a random number from the continuous distribution contained in this object.
This class implements gamma random variate generators using a method that combines acceptance-rejecti...
static double nextDouble(RandomStream s, RandomStream aux, double alpha, double lambda)
Generates a new gamma variate with parameters  alpha and  lambda, using main stream s and auxilia...
This class implements random variate generators having the Poisson distribution (see PoissonGen ).
int nextInt()
Generates a random number (an integer) from the discrete distribution contained in this object.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...