Docs/Sparse Direct Solver (SuperLU)/slu.solvers.solveSparseCSR
Back to Sparse Direct Solver (SuperLU)

slu.solvers.solveSparseCSR

Solve a sparse linear system Ax = b where A is in CSR format.

Syntax

slu.solvers.solveSparseCSR(A, b, options?)

Description

Solve a sparse linear system Ax = b where A is in CSR format. The CSR matrix is internally converted to CSC format (which is SuperLU's native format) before solving. For best performance with repeated solves, consider pre-converting to CSC.

Parameters

NameDescription
A- Sparse matrix in CSR format
b- Right-hand side vector
options(optional)- Solver options

Returns

SolveResult