public class WeibullRandomVariable extends AbstractContinuousRandomVariable
A random variable generator for the Weibull distribution.
References:
Constructor and Description |
---|
WeibullRandomVariable()
Default constructor.
|
WeibullRandomVariable(double a,
double b)
Create a rnadom variable with the given shape and scale values.
|
WeibullRandomVariable(double a,
double b,
double c)
Create a random variable with the given parameters.
|
WeibullRandomVariable(double a,
double b,
double c,
RNG source)
Create a random variable with the given parameters.
|
WeibullRandomVariable(double a,
double b,
RNG source)
Create a random variable with the given shape and scale values.
|
Modifier and Type | Method and Description |
---|---|
double |
nextRandomVariable()
Access the next random variable from this generator.
|
static double |
nextRandomVariable(double shape,
double scale,
double location,
RNG source)
Access the next random variable using the given generator.
|
public WeibullRandomVariable()
public WeibullRandomVariable(double a, double b)
a
- the shape parameter.b
- the scale parameter.public WeibullRandomVariable(double a, double b, double c)
a
- the shape parameter.b
- the scale parameter.c
- the location parameter.public WeibullRandomVariable(double a, double b, double c, RNG source)
a
- the shape parameter.b
- the scale parameter.c
- the location parameter.source
- the source generator.public WeibullRandomVariable(double a, double b, RNG source)
a
- the shape parameter.b
- the scale parameter.source
- the source generator.public static double nextRandomVariable(double shape, double scale, double location, RNG source)
shape
- the shape parameter.scale
- the scale parameter.location
- the location parameter.source
- the source generator.public double nextRandomVariable()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics