25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
49 protected double beta;
50 protected double gamma;
69 setParams(dist.getMu(), dist.getBeta(), dist.getGamma());
105 protected void setParams(
double mu,
double beta,
double gamma) {
107 throw new IllegalArgumentException(
"beta <= 0");
109 throw new IllegalArgumentException(
"gamma <= 0");
Extends the class ContinuousDistribution for the fatigue life distribution tbir69a with location par...
double inverseF(double u)
Returns the inverse distribution function .
FatigueLifeGen(RandomStream s, FatigueLifeDist dist)
Creates a new generator for the distribution dist, using stream s.
void setParams(double mu, double beta, double gamma)
Sets the parameters , and of this object.
double getGamma()
Returns the parameter of this object.
double getMu()
Returns the parameter of this object.
static double nextDouble(RandomStream s, double mu, double beta, double gamma)
Generates a variate from the fatigue life distribution with location parameter , scale parameter and...
FatigueLifeGen(RandomStream s, double mu, double beta, double gamma)
Creates a fatigue life random variate generator with parameters.
double getBeta()
Returns the parameter of this object.
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,...