我有一个脚本来计算特征值和向量而不需要平衡,我几乎每天都在使用它,这需要nag4py。代码在这个blog中:http://www.walkingrandomly.com/?p=5303,它有一个相关的SO post(How to use eig with the nobalance option as in MATLAB?)。你知道吗
昨天我升级了nag4py,现在在运行已经运行多年的同一个脚本时遇到以下错误:
from nag4py.util import Nag_RowMajor,Nag_NoBalancing,Nag_NotLeftVecs,Nag_RightVecs,Nag_RCondEigVecs,Integer,NagError,INIT_FAIL
ImportError: cannot import name INIT_FAIL
同时,我已经通过导入默认使用无平衡选项的倍频程解决了这个问题。但是我想用nag4py来解决这个问题。你知道吗
我已经测试了NAG许可证,它是有效的。你知道吗
nag4py包的发布版本使用了“quiet\u fail”和“noise\u fail”,这两个版本在嵌入式文档中有记录:
这是零钱:
相关问题 更多 >
编程相关推荐