numpy.core.multiarray 中的 interp 函数位于何处?
Where is the interp function in numpy.core.multiarray located?
来自 numpy.core.multiarray
的 source code for numpy.interp
calls a compiled_interp
function which is apparently the interp
function imported。
我一直在寻找这个功能,但找不到 inside that file。
我错过了什么?
numpy.core.multiarray
的interp
Python函数导出到multiarraymodule.c. It is mapped to arr_interp
which is a C function defined in compiled_base.c. The heart of the computation can be found here。
来自 numpy.core.multiarray
的 source code for numpy.interp
calls a compiled_interp
function which is apparently the interp
function imported。
我一直在寻找这个功能,但找不到 inside that file。
我错过了什么?
numpy.core.multiarray
的interp
Python函数导出到multiarraymodule.c. It is mapped to arr_interp
which is a C function defined in compiled_base.c. The heart of the computation can be found here。