cupyx.scipy.sparse.linalg.splu#

cupyx.scipy.sparse.linalg.splu(A, permc_spec=None, diag_pivot_thresh=None, relax=None, panel_size=None, options={})[source]#

Computes the LU decomposition of a sparse square matrix.

Parameters
Returns

Object which has a solve method.

Return type

cupyx.scipy.sparse.linalg.SuperLU

Note

This function LU-decomposes a sparse matrix on the CPU using scipy.sparse.linalg.splu. Therefore, LU decomposition is not accelerated on the GPU. On the other hand, the computation of solving linear equations using the solve method, which this function returns, is performed on the GPU.