Back to Sparse Direct Solver (SuperLU)
slu.solvers.solveSparseCSC
Solve a sparse linear system Ax = b where A is in CSC format.
Syntax
slu.solvers.solveSparseCSC(A, b, options?)
Description
Solve a sparse linear system Ax = b where A is in CSC format. Uses SuperLU's simple driver (dgssv/sgssv) which performs: 1. Column permutation for fill reduction 2. Row permutation for numerical stability 3. LU factorization: Pr * A * Pc = L * U 4. Triangular solves to compute x
Parameters
| Name | Description |
|---|---|
| A | - Sparse matrix in CSC format |
| b | - Right-hand side vector |
| options(optional) | - Solver options |
Returns
SolveResult