public interface MultivariateDistribution
Modifier and Type | Method and Description |
---|---|
double |
estimateLogProbability(double[] sample)
Get the log probability for a given point in space relative to the PDF
represented by this distribution.
|
double[] |
estimateLogProbability(double[][] x)
Get the log probability for a given point in space relative to the PDF
represented by this distribution.
|
double |
estimateProbability(double[] sample)
Get the probability for a given point in space relative to the PDF
represented by this distribution.
|
double[][] |
sample(int count,
Random rng)
Sample the distribution.
|
double[] |
sample(Random rng)
Sample the distribution.
|
double[][] sample(int count, Random rng)
count
- the number of samples to drawrng
- the random number generatordouble[] sample(Random rng)
rng
- the random number generatordouble estimateProbability(double[] sample)
sample
- the pointdouble estimateLogProbability(double[] sample)
sample
- the pointdouble[] estimateLogProbability(double[][] x)
x
- the samples