public abstract class MathDistribution
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected RandomPlus |
random
The random generator.
|
Constructor and Description |
---|
MathDistribution()
Creates a math distribution.
|
MathDistribution(RandomPlus random)
Creates a math distribution based on a separate random generator.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
getValue()
Draws a number from the random distribution.
|
protected RandomPlus random
public MathDistribution()
public MathDistribution(RandomPlus random)
random
- The random generator.