Back to Sparse Direct Solver (SuperLU)
slu.factorization.sparseLU
Compute the LU factorization of a sparse matrix.
Syntax
slu.factorization.sparseLU(A, options?)
Description
Compute the LU factorization of a sparse matrix. Computes the factorization Pr * A * Pc = L * U where: - L is unit lower triangular (stored in SuperLU's supernode format) - U is upper triangular (stored in compressed column format) - Pr is the row permutation matrix - Pc is the column permutation matrix The factorization can be reused to solve multiple systems with the same matrix but different right-hand sides.
Parameters
| Name | Description |
|---|---|
| A | - Sparse matrix in CSC format |
| options(optional) | - Factorization options |
Returns
LUFactorization