cupyx.scipy.sparse.linalg.gmres#

cupyx.scipy.sparse.linalg.gmres(A, b, x0=None, tol=1e-05, restart=None, maxiter=None, M=None, callback=None, atol=None, callback_type=None)[source]#

Uses Generalized Minimal RESidual iteration to solve Ax = b.

Parameters
Returns

It returns x (cupy.ndarray) and info (int) where x is the converged solution and info provides convergence information.

Return type

tuple

Reference:

M. Wang, H. Klie, M. Parashar and H. Sudan, “Solving Sparse Linear Systems on NVIDIA Tesla GPUs”, ICCS 2009 (2009).