public abstract class AbstractMultivariateDistribution extends Object implements MultivariateDistribution
Constructor and Description |
---|
AbstractMultivariateDistribution() |
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[][] |
sample(int count,
Random rng)
Sample the distribution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
estimateLogProbability, estimateProbability, sample
public AbstractMultivariateDistribution()
public double[][] sample(int count, Random rng)
MultivariateDistribution
sample
in interface MultivariateDistribution
count
- the number of samples to drawrng
- the random number generatorpublic double estimateLogProbability(double[] sample)
MultivariateDistribution
estimateLogProbability
in interface MultivariateDistribution
sample
- the point