public class ChiSquaredRandomVariable extends AbstractContinuousRandomVariable
A random variable generator for the Chi-Squared distribution.
References:
Constructor and Description |
---|
ChiSquaredRandomVariable()
Default constructor.
|
ChiSquaredRandomVariable(double df)
Create a random variable with the given degrees of freedom.
|
ChiSquaredRandomVariable(double df,
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 df,
RNG source)
Access the next random variable using the given generator.
|
public ChiSquaredRandomVariable()
public ChiSquaredRandomVariable(double df)
df
- degrees of freedom.public ChiSquaredRandomVariable(double df, RNG source)
df
- degrees of freedom.source
- the source generator.public static double nextRandomVariable(double df, RNG source)
df
- degrees of freedom.source
- the source generator.public double nextRandomVariable()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics