Back to Sparse Direct Solver (SuperLU)
slu.solvers.solveSymmetricSparse
Solve a symmetric sparse linear system Ax = b.
Syntax
slu.solvers.solveSymmetricSparse(A, b, options?)
Description
Solve a symmetric sparse linear system Ax = b. This solver is optimized for symmetric matrices where only one triangle (lower or upper) is stored. The solver automatically symmetrizes the matrix before solving. For general symmetric matrices, this uses a column permutation strategy optimized for symmetric structure (MMD on A^T + A).
Parameters
| Name | Description |
|---|---|
| A | - Symmetric sparse matrix in CSC format (stored as triangle) |
| b | - Right-hand side vector |
| options(optional) | - Solver options |
Returns
SolveResult