public class CholeskyDecomposition
extends java.lang.Object
Constructor and Description |
---|
CholeskyDecomposition() |
Modifier and Type | Method and Description |
---|---|
static double[] |
inverse(double[] UAi,
int k)
Computes the inverse of a real symmetric positive definite matrix A
using the Cholesky factorization A = U**T*U.
|
static double[] |
solve(double[] A,
double[] bx)
Solves a symmetric positive definite linear system via Cholesky factorization.
|
public static double[] solve(double[] A, double[] bx)
A
- the upper triangular part of Abx
- right-hand sidepublic static double[] inverse(double[] UAi, int k)
UAi
- the upper triangular factor U from the Cholesky factorization A = U**T*Uk
- the dimension of A