| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python312/Lib/site-packages/numpy/_core/include/numpy/ |
Upload File : |
/* This header is designed to be copy-pasted into downstream packages, since it provides a compatibility layer between the old C struct complex types and the new native C99 complex types. The new macros are in numpy/npy_math.h, which is why it is included here. */ #ifndef NUMPY_CORE_INCLUDE_NUMPY_NPY_2_COMPLEXCOMPAT_H_ #define NUMPY_CORE_INCLUDE_NUMPY_NPY_2_COMPLEXCOMPAT_H_ #include <numpy/npy_math.h> #ifndef NPY_CSETREALF #define NPY_CSETREALF(c, r) (c)->real = (r) #endif #ifndef NPY_CSETIMAGF #define NPY_CSETIMAGF(c, i) (c)->imag = (i) #endif #ifndef NPY_CSETREAL #define NPY_CSETREAL(c, r) (c)->real = (r) #endif #ifndef NPY_CSETIMAG #define NPY_CSETIMAG(c, i) (c)->imag = (i) #endif #ifndef NPY_CSETREALL #define NPY_CSETREALL(c, r) (c)->real = (r) #endif #ifndef NPY_CSETIMAGL #define NPY_CSETIMAGL(c, i) (c)->imag = (i) #endif #endif