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)[源代码][源代码]#

使用广义最小残差迭代法来求解 Ax = b

参数:
返回:

它返回 x (cupy.ndarray) 和 info (int),其中 x 是收敛的解,而 info 提供收敛信息。

返回类型:

tuple

参考:

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