|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.ops.CovarianceRandomDraw
public class CovarianceRandomDraw
Generates random vectors based on a zero mean multivariate Gaussian distribution. The covariance matrix is provided in the contructor.
| Constructor Summary | |
|---|---|
CovarianceRandomDraw(Random rand,
DenseMatrix64F cov)
Creates a random distribution with the specified mean and covariance. |
|
| Method Summary | |
|---|---|
double |
computeLikelihoodP()
Computes the likelihood of the random draw |
void |
next(DenseMatrix64F x)
Makes a draw on the distribution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CovarianceRandomDraw(Random rand,
DenseMatrix64F cov)
rand - Used to create the random numbers for the draw. Reference is saved.cov - The covariance of the stribution. Not modified.| Method Detail |
|---|
public void next(DenseMatrix64F x)
public double computeLikelihoodP()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||