python - 在 SciPy 中搜索函数 `LinearNDInterpolator` 的源代码

标签 python github scipy

我正在尝试检查在以下 Python 代码中调用的函数 LinearNDInterpolator

from scipy.interpolate.interpnd import LinearNDInterpolator

我来到了SciPy GitHub branch scipy/scipy/interpolate但找不到 'interpnd' 更不用说 LinearNDInterpolator。函数scipy/scipy/interpolate/ndgriddata.py使用函数 LinearNDInterpolator。我怀疑这是因为 interpnd 不是 Python 脚本,而是 Python 环绕的 C++ 甚至 Fortran 之类的东西。是这样吗?

最佳答案

看起来是在Cython里面写的.
Source code link

关于python - 在 SciPy 中搜索函数 `LinearNDInterpolator` 的源代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53991203/

相关文章:

python - 对角阵列上的 numpy 线性代数,没有显式重复

git - 如何在不提交/添加任何文件或修改任何文件的情况下检查远程 GIT 存储库权限

python - 使用 numpy/scipy 中的插值填充二维矩阵中的缺失值

git - 如何删除 GitBash 中的分支?

python - RectBivariateSpline 仅产生平滑>0 的 nan 值

python - Python 中的 fitdist 和 histfit 相当于什么?

python - 用于匹配所有字符的正则表达式,除了一些特殊字符和 ":)"

python - GPIB 与 Python (PyVisa) 通信

python - Django "Singleton model"存储用户设置

github - 如何设置github只读访问