public class CustomizedColtSparseDoubleCholesky
extends java.lang.Object
Constructor and Description |
---|
CustomizedColtSparseDoubleCholesky(cern.colt.matrix.tdouble.DoubleMatrix2D A,
int order)
Constructs and returns a new Cholesky decomposition object for a sparse
symmetric and positive definite matrix; The decomposed matrices can be
retrieved via instance methods of the returned decomposition object.
|
Modifier and Type | Method and Description |
---|---|
cern.colt.matrix.tdouble.DoubleMatrix2D |
getL()
Returns the triangular factor, L.
|
cern.colt.matrix.tdouble.DoubleMatrix2D |
getLtranspose()
Returns the triangular factor, L'.
|
edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcss |
getSymbolicAnalysis()
Returns a copy of the symbolic Cholesky analysis object
|
void |
solve(cern.colt.matrix.tdouble.DoubleMatrix1D b) |
void |
solve(cern.colt.matrix.tdouble.DoubleMatrix1D b,
CholeskyDecomposition.SolverMode type)
Solves A*x = b(in-place).
|
public CustomizedColtSparseDoubleCholesky(cern.colt.matrix.tdouble.DoubleMatrix2D A, int order)
A
- Square, symmetric positive definite matrix .order
- ordering option (0 or 1); 0: natural ordering, 1: amd(A+A')java.lang.IllegalArgumentException
- if A is not square or is not sparse or is not a
symmetric positive definite.java.lang.IllegalArgumentException
- if order != 0 || order != 1public cern.colt.matrix.tdouble.DoubleMatrix2D getL()
public cern.colt.matrix.tdouble.DoubleMatrix2D getLtranspose()
public edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcss getSymbolicAnalysis()
public void solve(cern.colt.matrix.tdouble.DoubleMatrix1D b)
public void solve(cern.colt.matrix.tdouble.DoubleMatrix1D b, CholeskyDecomposition.SolverMode type)
b
- A vector with of size A.rows();java.lang.IllegalArgumentException
- if b.size() != A.rows().