public class Cholesky
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Cholesky(Matrix A)
Run the Cholesky decomposition on a real, symmetric (hence square), and positive definite matrix.
|
Cholesky(Matrix A,
double epsilon)
Run the Cholesky decomposition on a real, symmetric (hence square), and positive definite matrix.
|
| Modifier and Type | Method and Description |
|---|---|
LowerTriangularMatrix |
L()
Get the lower triangular matrix L.
|
UpperTriangularMatrix |
Lt()
Get the transpose of the lower triangular matrix, L'.
|
public Cholesky(Matrix A, double epsilon)
A - a real, symmetric (hence square), and positive definite matrixepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0java.lang.IllegalArgumentException - if A is not symmetricjava.lang.RuntimeException - if A is not positive definite matrixpublic Cholesky(Matrix A)
A - a real, symmetric (hence square), and positive definite matrixjava.lang.IllegalArgumentException - if A is not symmetricjava.lang.RuntimeException - if A is not positive definite matrixpublic LowerTriangularMatrix L()
public UpperTriangularMatrix Lt()