|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.ops.CovarianceOps
public class CovarianceOps
Contains operations specific to covariance matrices.
| Field Summary | |
|---|---|
static double |
TOL
|
| Constructor Summary | |
|---|---|
CovarianceOps()
|
|
| Method Summary | |
|---|---|
static boolean |
invert(DenseMatrix64F cov)
Performs a matrix inversion operations that takes advantage of the special properties of a covariance matrix. |
static boolean |
invert(DenseMatrix64F cov,
DenseMatrix64F cov_inv)
Performs a matrix inversion operations that takes advantage of the special properties of a covariance matrix. |
static int |
isValid(DenseMatrix64F cov)
Performs a variety of tests to see if the provided matrix is a valid covariance matrix. |
static boolean |
isValidFast(DenseMatrix64F cov)
This is a fairly light weight check to see of a covariance matrix is valid. |
static void |
randomVector(DenseMatrix64F cov,
DenseMatrix64F vector,
Random rand)
Sets vector to a random value based upon a zero-mean multivariate Gaussian distribution with covariance 'cov'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static double TOL
| Constructor Detail |
|---|
public CovarianceOps()
| Method Detail |
|---|
public static boolean isValidFast(DenseMatrix64F cov)
public static int isValid(DenseMatrix64F cov)
public static boolean invert(DenseMatrix64F cov)
cov - On input it is a covariance matrix, on output it is the inverse. Modified.
public static boolean invert(DenseMatrix64F cov,
DenseMatrix64F cov_inv)
cov - A covariance matrix. Not modified.cov_inv - The inverse of cov. Modified.
public static void randomVector(DenseMatrix64F cov,
DenseMatrix64F vector,
Random rand)
CovarianceRandomDraw instead.
cov - The distirbutions covariance. Not modified.vector - The random vector. Modified.rand - Random number generator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||