我收到了来自PyCharm的代码检查警告。我理解其中的逻辑,但我不清楚如何修复它。does not define '__getitem__', so the '[]' operator cannot be used on its instances (at line 4)解决此警告的适当方法是什么?我需
cython版本和最初的python代码给了我同样的答案(在1e-7中,我理解这与cythonvs.python types...not有关,这里的问题可能很重要)。我试图使用scipy.optimize.fsolve()查找函数的根。python版本运行良好,但cython版本会出现分歧。, int index_y,
np.ndarray[np.double_t