|
numpy
2.0.0
|
#include "old_defines.h"Go to the source code of this file.
| #define fortran fortran_ |
| #define FORTRAN_IF PyArray_FORTRAN_IF |
| #define NPY_ALIGNED NPY_ARRAY_ALIGNED |
| #define NPY_AO PyArrayObject |
| #define NPY_BEHAVED NPY_ARRAY_BEHAVED |
| #define NPY_BEHAVED_NS NPY_ARRAY_BEHAVED_NS |
| #define NPY_CARRAY NPY_ARRAY_CARRAY |
| #define NPY_CARRAY_RO NPY_ARRAY_CARRAY_RO |
| #define NPY_CONTIGUOUS NPY_ARRAY_C_CONTIGUOUS |
| #define NPY_DEFAULT NPY_ARRAY_DEFAULT |
| #define NPY_ENSUREARRAY NPY_ARRAY_ENSUREARRAY |
| #define NPY_ENSURECOPY NPY_ARRAY_ENSURECOPY |
| #define NPY_FARRAY NPY_ARRAY_FARRAY |
| #define NPY_FARRAY_RO NPY_ARRAY_FARRAY_RO |
| #define NPY_FORCECAST NPY_ARRAY_FORCECAST |
| #define NPY_FORTRAN NPY_ARRAY_F_CONTIGUOUS |
| #define NPY_IN_ARRAY NPY_ARRAY_IN_ARRAY |
| #define NPY_IN_FARRAY NPY_ARRAY_IN_FARRAY |
| #define NPY_INOUT_ARRAY NPY_ARRAY_INOUT_ARRAY |
| #define NPY_METADATA_DTSTR "__timeunit__" |
| #define NPY_NOTSWAPPED NPY_ARRAY_NOTSWAPPED |
| #define NPY_OUT_ARRAY NPY_ARRAY_OUT_ARRAY |
| #define NPY_OUT_FARRAY NPY_ARRAY_OUT_FARRAY |
| #define NPY_OWNDATA NPY_ARRAY_OWNDATA |
| #define NPY_STR_as "as" |
| #define NPY_STR_D "D" |
| #define NPY_STR_fs "fs" |
| #define NPY_STR_h "h" |
| #define NPY_STR_M "M" |
| #define NPY_STR_m "m" |
| #define NPY_STR_ms "ms" |
| #define NPY_STR_ns "ns" |
| #define NPY_STR_ps "ps" |
| #define NPY_STR_s "s" |
| #define NPY_STR_us "us" |
| #define NPY_STR_W "W" |
| #define NPY_STR_Y "Y" |
<blockquote>
</blockquote>
| #define NPY_UPDATE_ALL NPY_ARRAY_UPDATE_ALL |
| #define NPY_WRITEABLE NPY_ARRAY_WRITEABLE |
| #define PyArray_DEFAULT NPY_DEFAULT_TYPE |
| #define PyDataType_GetDatetimeMetaData | ( | descr | ) |
((descr->metadata == NULL) ? NULL : \
((PyArray_DatetimeMetaData *)(PyCObject_AsVoidPtr( \
PyDict_GetItemString(descr->metadata, NPY_METADATA_DTSTR)))))