public class CauchyRandomVariable extends AbstractContinuousRandomVariable
A random variable generator for the Cauchy distribution.
References:
| Constructor and Description |
|---|
CauchyRandomVariable()
Default constructor.
|
CauchyRandomVariable(double m,
double s)
Create a random variable with the given location and scale parameters.
|
CauchyRandomVariable(double m,
double s,
RNG source)
Create a random variable with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextRandomVariable()
Access the next random variable from this generator.
|
static double |
nextRandomVariable(double m,
double s,
RNG source)
Access the next random variable using the given generator.
|
public CauchyRandomVariable()
public CauchyRandomVariable(double m,
double s)
m - the location parameter.s - the scale parameter.public CauchyRandomVariable(double m,
double s,
RNG source)
m - the location parameter.s - the scale parameter.source - the source generator.public static double nextRandomVariable(double m,
double s,
RNG source)
m - the location parameter.s - the scale parameter.source - the source generator.public double nextRandomVariable()
DMelt 2.0 © DataMelt by jWork.ORG