public class StandardGaussianDistribution extends java.lang.Object implements Distribution
Distribution.Type
Modifier | Constructor and Description |
---|---|
protected |
StandardGaussianDistribution()
This constructor creates a Gaussian function with mean mu and variance sigma2.
|
Modifier and Type | Method and Description |
---|---|
static StandardGaussianDistribution |
getInstance()
This method returns the single instance of the StandardGaussianDistribution class.
|
Matrix |
getMean()
This method returns the first central moment, i.e.
|
protected Matrix |
getMu() |
double |
getProbabilityDensity(Matrix yValues)
This method returns the result of the probability density function of the distribution parameter.
|
Matrix |
getRandomRealization()
This method draws a random realization from the distribution.
|
protected Matrix |
getSigma2() |
Matrix |
getStandardDeviation()
This method returns the lower triangle of the Cholesky decomposition of the variance-covariance matrix.
|
Distribution.Type |
getType()
This method returns the type of the distribution.
|
Matrix |
getVariance()
This method returns the second central moment, i.e.
|
boolean |
isMultivariate()
This method returns true if the GaussianFunction instance is multivariate.
|
boolean |
isParametric()
This method returns true if the distribution is parametric or false otherwise.
|
protected void |
setMean(Matrix mu) |
protected void |
setVariance(Matrix sigma2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isUnivariate
protected StandardGaussianDistribution()
public static StandardGaussianDistribution getInstance()
public boolean isMultivariate()
Distribution
isMultivariate
in interface Distribution
public Matrix getRandomRealization()
Distribution
getRandomRealization
in interface Distribution
public Matrix getStandardDeviation()
public Matrix getMean()
CentralMomentsGettable
getMean
in interface CentralMomentsGettable
public Matrix getVariance()
CentralMomentsGettable
getVariance
in interface CentralMomentsGettable
public Distribution.Type getType()
Distribution
getType
in interface Distribution
protected void setMean(Matrix mu)
protected void setVariance(Matrix sigma2)
protected Matrix getMu()
protected Matrix getSigma2()
public boolean isParametric()
Distribution
isParametric
in interface Distribution
public double getProbabilityDensity(Matrix yValues)
yValues
- a single double value or a Matrix instance