当我使用scipy.linalg.svd()
处理大型矩阵时,程序会显示以下错误消息:
Traceback (most recent call last):
File "LaplacianMatrix.py", line 98, in <module>
LaplacianInverse = LaplacianPinv(Laplacian)
File "LaplacianMatrix.py", line 67, in LaplacianPinv
UL,SL,VL = linalg.svd(Laplacian)
File "/home/task3/dylan/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp_svd.py", line 125, in svd
compute_uv=compute_uv, full_matrices=full_matrices)
File "/home/task3/dylan/anaconda3/lib/python3.6/site-packages/scipy/linalg/lapack.py", line 712, in _compute_lwork
raise ValueError("Too large work array required -- computation cannot "
ValueError: Too large work array required -- computation cannot be performed with standard 32-bit LAPACK.
那我该怎么做才能使代码正常工作?