Computes the solution of a sparse real symmetric positive definite system of linear equations .
double
vector of length equal to the order of matrix A
representing the right-hand side of the linear system. A double
vector of length equal to the order of matrix A
representing the solution to the system of linear equations .
This method solves the linear system , where A is symmetric positive definite. The solution is obtained in several steps:
By default this method implements all of the above steps. The factorizations are retained for later use by subsequent solves. By choosing appropriate methods within this class, the computation can be reduced to the solution of the system for a given or precomputed symbolic or numeric factor.
Exception Type | Condition |
---|---|
NotSPDException | is thrown when the input matrix is not symmetric, positive definite. |
SparseCholesky Class | Imsl.Math Namespace