25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
46 protected double alpha;
47 protected double beta;
56 setParams(alpha, beta);
73 setParams(dist.getAlpha(), dist.getBeta());
100 protected void setParams(
double alpha,
double beta) {
102 throw new IllegalArgumentException(
"beta <= 0");
Extends the class ContinuousDistribution for the Cauchy distribution tjoh95a (page 299) with locatio...
double inverseF(double u)
Returns the inverse distribution function .
CauchyGen(RandomStream s, CauchyDist dist)
Create a new generator for the distribution dist, using stream s.
CauchyGen(RandomStream s, double alpha, double beta)
Creates a Cauchy random variate generator with parameters.
double getBeta()
Returns the parameter of this object.
double getAlpha()
Returns the parameter of this object.
static double nextDouble(RandomStream s, double alpha, double beta)
Generates a new variate from the Cauchy distribution with parameters  alpha and  beta,...
CauchyGen(RandomStream s)
Creates a Cauchy random variate generator with parameters and , 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,...