public class FatigueLifeGen extends RandomVariateGen
| Constructor and Description |
|---|
FatigueLifeGen(RandomStream s,
double mu,
double beta,
double gamma)
Creates a fatigue life random variate generator with
parameters μ = mu, β = beta and γ =
gamma, using stream s.
|
FatigueLifeGen(RandomStream s,
FatigueLifeDist dist)
Creates a new generator for the distribution dist,
using stream s.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getBeta()
Returns the parameter β 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 shape parameter
γ.
|
getDistribution, getStream, nextArrayOfDouble, nextDouble, setStreampublic FatigueLifeGen(RandomStream s, double mu, double beta, double gamma)
public FatigueLifeGen(RandomStream s, FatigueLifeDist dist)
public static double nextDouble(RandomStream s, double mu, double beta, double gamma)
public double getBeta()
public double getGamma()
public double getMu()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.