public class CholeskyDecomposition extends Object implements Serializable
Constructor and Description |
---|
CholeskyDecomposition(Matrix A)
Computes the Cholesky Decomposition of the matrix A.
|
CholeskyDecomposition(Matrix A,
ExecutorService threadpool)
Computes the Cholesky Decomposition of the matrix A.
|
Modifier and Type | Method and Description |
---|---|
double |
getDet()
Computes the determinant of A
|
Matrix |
getLT()
The Cholesky Decomposition computes the factorization A = L LT.
|
Matrix |
solve(Matrix B)
Solves the linear system of equations A x = B
|
Matrix |
solve(Matrix B,
ExecutorService threadpool)
Solves the linear system of equations A x = B
|
Vec |
solve(Vec b)
Solves the linear system of equations A x = b
|
public CholeskyDecomposition(Matrix A)
clone
of the
matrix should be given instead. A
- the matrix to create the Cholesky Decomposition ofpublic CholeskyDecomposition(Matrix A, ExecutorService threadpool)
clone
of the
matrix should be given instead. A
- the matrix to create the Cholesky Decomposition ofthreadpool
- the source of threads for computationpublic Matrix getLT()
public Vec solve(Vec b)
b
- the vectors of valuespublic Matrix solve(Matrix B)
B
- the matrix of valuespublic Matrix solve(Matrix B, ExecutorService threadpool)
B
- the matrix of valuesthreadpool
- the source of threads for parallel evaluationpublic double getDet()
Copyright © 2017. All rights reserved.