numpy
2.0.0
|
Go to the source code of this file.
Functions | |
NPY_NO_EXPORT void | PyArray_InitArrFuncs (PyArray_ArrFuncs *f) |
NPY_NO_EXPORT int | PyArray_RegisterCanCast (PyArray_Descr *descr, int totype, NPY_SCALARKIND scalar) |
NPY_NO_EXPORT int | PyArray_RegisterDataType (PyArray_Descr *descr) |
NPY_NO_EXPORT int | PyArray_RegisterCastFunc (PyArray_Descr *descr, int totype, PyArray_VectorUnaryFunc *castfunc) |
Variables | |
NPY_NO_EXPORT PyArray_Descr ** | userdescrs |
NPY_NO_EXPORT void PyArray_InitArrFuncs | ( | PyArray_ArrFuncs * | f | ) |
NPY_NO_EXPORT int PyArray_RegisterCanCast | ( | PyArray_Descr * | descr, |
int | totype, | ||
NPY_SCALARKIND | scalar | ||
) |
References PyArray_ArrFuncs::cancastto, _PyArray_Descr::f, and NPY_NOTYPE.
NPY_NO_EXPORT int PyArray_RegisterCastFunc | ( | PyArray_Descr * | descr, |
int | totype, | ||
PyArray_VectorUnaryFunc * | castfunc | ||
) |
References PyArray_ArrFuncs::castdict, and _PyArray_Descr::f.
NPY_NO_EXPORT int PyArray_RegisterDataType | ( | PyArray_Descr * | descr | ) |
References _PyArray_Descr::type_num, and userdescrs.
Referenced by PyArray_RegisterDataType().