Back to Linear Algebra (Eigen)
eigen.sparse.sparseSolve
Solve sparse linear system with automatic method selection.
Syntax
eigen.sparse.sparseSolve(S, b, method?)
Description
Solve sparse linear system with automatic method selection.
Parameters
| Name | Description |
|---|---|
| S | - Sparse coefficient matrix (n × n) |
| b | - Right-hand side vector (n × 1) |
| method(optional) | - Solver method: 'auto', 'lu', 'cg', 'bicgstab' |
Returns
VectorHandle