public class MultivariateGaussian
extends Object
implements scala.Serializable
param: mean The mean vector of the distribution param: cov The covariance matrix of the distribution
Constructor and Description |
---|
MultivariateGaussian(Vector mean,
Matrix cov) |
Modifier and Type | Method and Description |
---|---|
Matrix |
cov() |
double |
logpdf(Vector x)
Returns the log-density of this multivariate Gaussian at given point, x
|
Vector |
mean() |
double |
pdf(Vector x)
Returns density of this multivariate Gaussian at given point, x
|
public Vector mean()
public Matrix cov()
public double pdf(Vector x)
x
- (undocumented)public double logpdf(Vector x)
x
- (undocumented)