如何找到scipy.special.rel_entr函数的代码源?
How to find code source of scipy.special.rel_entr function?
我正在尝试寻找 scipy.special.rel_entr
function in GitHub Repo 的代码源,但找不到 rel_entr
函数定义。
我也试着查看这段代码:https://github.com/scipy/scipy/pull/6522/files#diff-0
scipy.special.rel_entr
is a ufunc. The core calculation that is used by the function is implemented in Cython in the file _convex_analysis.pxd
, specifically these lines. All the wrapper code that implements the ufunc
rel_entr
is generated automatically when SciPy is built, based on configuration data in the file functions.json
.
我正在尝试寻找 scipy.special.rel_entr
function in GitHub Repo 的代码源,但找不到 rel_entr
函数定义。
我也试着查看这段代码:https://github.com/scipy/scipy/pull/6522/files#diff-0
scipy.special.rel_entr
is a ufunc. The core calculation that is used by the function is implemented in Cython in the file _convex_analysis.pxd
, specifically these lines. All the wrapper code that implements the ufunc
rel_entr
is generated automatically when SciPy is built, based on configuration data in the file functions.json
.