cupyx.scipy.sparse.linalg.spsolve#
- cupyx.scipy.sparse.linalg.spsolve(A, b)[source]#
Solves a sparse linear system
A x = b
- Parameters:
A (cupyx.scipy.sparse.spmatrix) – Sparse matrix with dimension
(M, M)
.b (cupy.ndarray) – Dense vector or matrix with dimension
(M)
or(M, N)
.
- Returns:
Solution to the system
A x = b
.- Return type: