diff options
author | David Cournapeau <cournape@gmail.com> | 2009-10-08 13:48:16 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-10-08 13:48:16 +0000 |
commit | cbeee2f8b17316291aa052bf7d41dfdb674f000c (patch) | |
tree | 6bef7850830757aea00e6cd4c4185b28b32e68ed | |
parent | efd4c9d3eb3577146ad53c42b6a3bc8763642e95 (diff) | |
download | numpy-cbeee2f8b17316291aa052bf7d41dfdb674f000c.tar.gz |
ENH: add ufunc api dict.
-rw-r--r-- | numpy/core/code_generators/numpy_api.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/numpy/core/code_generators/numpy_api.py b/numpy/core/code_generators/numpy_api.py index b50e10f25..c82e9828f 100644 --- a/numpy/core/code_generators/numpy_api.py +++ b/numpy/core/code_generators/numpy_api.py @@ -237,3 +237,38 @@ multiarray_funcs_api = { 'PyArray_DatetimeStructToDatetime': 217, 'PyArray_TimedeltaStructToTimedelt': 218, } + +ufunc_api = { + 'PyUFunc_FromFuncAndData': 0, + 'PyUFunc_RegisterLoopForType': 1, + 'PyUFunc_GenericFunction': 2, + 'PyUFunc_f_f_As_d_d': 3, + 'PyUFunc_d_d': 4, + 'PyUFunc_f_f': 5, + 'PyUFunc_g_g': 6, + 'PyUFunc_F_F_As_D_D': 7, + 'PyUFunc_F_F': 8, + 'PyUFunc_D_D': 9, + 'PyUFunc_G_G': 10, + 'PyUFunc_O_O': 11, + 'PyUFunc_ff_f_As_dd_d': 12, + 'PyUFunc_ff_f': 13, + 'PyUFunc_dd_d': 14, + 'PyUFunc_gg_g': 15, + 'PyUFunc_FF_F_As_DD_D': 16, + 'PyUFunc_DD_D': 17, + 'PyUFunc_FF_F': 18, + 'PyUFunc_GG_G': 19, + 'PyUFunc_OO_O': 20, + 'PyUFunc_O_O_method': 21, + 'PyUFunc_OO_O_method': 22, + 'PyUFunc_On_Om': 23, + 'PyUFunc_GetPyValues': 24, + 'PyUFunc_checkfperr': 25, + 'PyUFunc_clearfperr': 26, + 'PyUFunc_getfperr': 27, + 'PyUFunc_handlefperr': 28, + 'PyUFunc_ReplaceLoopBySignature': 29, + 'PyUFunc_FromFuncAndDataAndSignature': 30, + 'PyUFunc_SetUsesArraysAsData': 31, +} |