Back to Scientific Computing (SciPy)
sp.linalg.spsolve
Solve the sparse linear system A @ x = b using SuperLU.
Syntax
sp.linalg.spsolve(A, b, options?)
Description
Solve the sparse linear system A @ x = b using SuperLU.
Parameters
| Name | Description |
|---|---|
| A | - Sparse square matrix (n x n) |
| b | - Right-hand side vector (length n) or matrix (n x nrhs) |
| options(optional) | - Solver options |
Returns
Promise<Float64Array | Float64Array[]>