25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
49 protected double alpha;
50 protected double beta;
60 setParams(alpha, beta);
78 setParams(dist.getAlpha(), dist.getBeta());
103 protected void setParams(
double alpha,
double beta) {
105 throw new IllegalArgumentException(
"alpha <= 0");
107 throw new IllegalArgumentException(
"beta <= 0");
THIS CLASS HAS BEEN RENAMED InverseGammaDist .
double inverseF(double u)
Returns the inverse distribution function .
double getAlpha()
Returns the parameter of this object.
Pearson5Gen(RandomStream s, double alpha, double beta)
THIS CLASS HAS BEEN RENAMED InverseGammaGen .
Pearson5Gen(RandomStream s, double alpha)
Creates a Pearson5 random variate generator with parameters.
static double nextDouble(RandomStream s, double alpha, double beta)
Generates a variate from the Pearson V distribution with shape parameter and scale parameter .
double getBeta()
Returns the parameter of this object.
Pearson5Gen(RandomStream s, Pearson5Dist dist)
Creates a new generator for the distribution dist, 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,...