cupyx.scipy.sparse.linalg.spilu#
- cupyx.scipy.sparse.linalg.spilu(A, drop_tol=None, fill_factor=None, drop_rule=None, permc_spec=None, diag_pivot_thresh=None, relax=None, panel_size=None, options={})[source]#
Computes the incomplete LU decomposition of a sparse square matrix.
- Parameters:
A (cupyx.scipy.sparse.spmatrix) – Sparse matrix to factorize.
drop_tol (float) – (For further augments, see
scipy.sparse.linalg.spilu())fill_factor (float) –
drop_rule (str) –
permc_spec (str) –
diag_pivot_thresh (float) –
relax (int) –
panel_size (int) –
options (dict) –
- Returns:
Object which has a
solvemethod.- Return type:
Note
This function computes incomplete LU decomposition of a sparse matrix on the CPU using scipy.sparse.linalg.spilu (unless you set
fill_factorto1). Therefore, incomplete LU decomposition is not accelerated on the GPU. On the other hand, the computation of solving linear equations using thesolvemethod, which this function returns, is performed on the GPU.If you set
fill_factorto1, this function computes incomplete LU decomposition on the GPU, but without fill-in or pivoting.See also