在 SciPy 中搜索函数“LinearNDInterpolator”的源代码

Han*_*ans 3 python github scipy

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

from scipy.interpolate.interpnd import LinearNDInterpolator
Run Code Online (Sandbox Code Playgroud)

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

Lau*_*ost 5

看起来它是用Cython编写的。
源代码链接