Back to Sparse Direct Solver (SuperLU)
slu.solvers.solveReusedFactorization
Solve a sparse linear system using a pre-computed LU factorization.
Syntax
slu.solvers.solveReusedFactorization(lu, b, options?)
Description
Solve a sparse linear system using a pre-computed LU factorization. This function is useful when you need to solve multiple systems with the same matrix A but different right-hand sides. By reusing the factorization, you avoid the expensive factorization step for subsequent solves.
Parameters
| Name | Description |
|---|---|
| lu | - Pre-computed LU factorization from sparseLU() |
| b | - Right-hand side vector |
| options(optional) | - Solve options |
Returns
ReusedFactorizationResult