Java org.apache.commons.math3.distribution MultivariateNormalDistribution fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.distribution MultivariateNormalDistribution fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.distribution MultivariateNormalDistribution.

The text is from its open source code.

Constructor

MultivariateNormalDistribution(RandomGenerator rng, final double[] means, final double[][] covariances)
Creates a multivariate normal distribution with the given mean vector and covariance matrix.
MultivariateNormalDistribution(final double[] means, final double[][] covariances)
Creates a multivariate normal distribution with the given mean vector and covariance matrix.

Method

doubledensity(final double[] vals)
RealMatrixgetCovariances()
Gets the covariance matrix.
intgetDimension()
double[]getMeans()
Gets the mean vector.
double[]getStandardDeviations()
Gets the square root of each element on the diagonal of the covariance matrix.
voidreseedRandomGenerator(long seed)
double[]sample()
double[][]sample(final int sampleSize)