| Modifier and Type | Field and Description |
|---|---|
| private final int | dimension
The number of dimensions or columns in the multivariate distribution. |
| protected final RandomGenerator | random
RNG instance used to generate samples from the distribution. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractMultivariateRealDistribution(RandomGenerator
Random number generator. rng, int Number of dimensions. n)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getDimension()
Implements org. Gets the number of random variables of the distribution. |
| public void | reseedRandomGenerator(long
Seed with which to initialize the random number generator. seed)Implements org. Reseeds the random generator used to generate samples. |
| public abstract double[] | sample()
Redeclares org. Generates a random value vector sampled from this distribution. |
| public double[][] | sample(final int
the number of random vectors to generate. sampleSize)Implements org. Generates a list of a random value vectors from the distribution. |
| dimension | back to summary |
|---|---|
| private final int dimension The number of dimensions or columns in the multivariate distribution. | |
| random | back to summary |
|---|---|
| protected final RandomGenerator random RNG instance used to generate samples from the distribution. | |
| AbstractMultivariateRealDistribution | back to summary |
|---|---|
protected AbstractMultivariateRealDistribution(RandomGenerator rng, int n)
| |
| getDimension | back to summary |
|---|---|
| public int getDimension() Implements org. Doc from org. Gets the number of random variables of the distribution.
It is the size of the array returned by the
| |
| reseedRandomGenerator | back to summary |
|---|---|
| public void reseedRandomGenerator(long seed) Implements org. Doc from org. Reseeds the random generator used to generate samples.
| |
| sample | back to summary |
|---|---|
| public abstract double[] sample() Redeclares org. Doc from org. Generates a random value vector sampled from this distribution.
| |
| sample | back to summary |
|---|---|
| public double[][] sample(final int sampleSize) Implements org. Doc from org. Generates a list of a random value vectors from the distribution.
| |