import scipy as simport scipy.sparse as ssfrom scipy.sparse.construct import eye as speyeimport scipy.sparse.linalg as ssl......A = ss.kron(Ay, speye(nx)) + ss.kron(speye(ny), Ax)这个“coo”稀疏形式矩阵,就是存一个坐标带一个值的那种如 ...... (2382, 2223) -64.0 (2382, 2381) -64.0 (2...
回答于 2021-02-28 12:00