public class MultivariateNormalDistribution extends Object implements ContinuousMultivariateDistribution
References:
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.commons.math3.distribution.MultivariateNormalDistribution |
mnd |
Constructor and Description |
---|
MultivariateNormalDistribution(double[] means,
double[][] covariances)
Create a normal distribution with a given mean and standard deviation.
|
public MultivariateNormalDistribution(double[] means, double[][] covariances)
means
- the [mathematical] vector of means.covariances
- the covariance matrix.public final Vector sample()
ContinuousMultivariateDistribution
sample
in interface ContinuousMultivariateDistribution
Copyright © 2015 University of Glasgow. All rights reserved.