|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cdef extern from "numpy/npy_math.h" nogil: |
|
|
|
|
|
long double NAN "NPY_NAN" |
|
|
long double INFINITY "NPY_INFINITY" |
|
|
long double PZERO "NPY_PZERO" |
|
|
long double NZERO "NPY_NZERO" |
|
|
|
|
|
|
|
|
int isinf "npy_isinf"(long double) |
|
|
bint isfinite "npy_isfinite"(long double) |
|
|
bint isnan "npy_isnan"(long double) |
|
|
bint signbit "npy_signbit"(long double) |
|
|
|
|
|
|
|
|
long double E "NPY_E" |
|
|
long double LOG2E "NPY_LOG2E" |
|
|
long double LOG10E "NPY_LOG10E" |
|
|
long double LOGE2 "NPY_LOGE2" |
|
|
long double LOGE10 "NPY_LOGE10" |
|
|
long double PI "NPY_PI" |
|
|
long double PI_2 "NPY_PI_2" |
|
|
long double PI_4 "NPY_PI_4" |
|
|
long double NPY_1_PI |
|
|
long double NPY_2_PI |
|
|
long double EULER "NPY_EULER" |
|
|
|
|
|
|
|
|
float copysignf "npy_copysignf"(float, float) |
|
|
float nextafterf "npy_nextafterf"(float x, float y) |
|
|
float spacingf "npy_spacingf"(float x) |
|
|
double copysign "npy_copysign"(double, double) |
|
|
double nextafter "npy_nextafter"(double x, double y) |
|
|
double spacing "npy_spacing"(double x) |
|
|
long double copysignl "npy_copysignl"(long double, long double) |
|
|
long double nextafterl "npy_nextafterl"(long double x, long double y) |
|
|
long double spacingl "npy_spacingl"(long double x) |
|
|
|
|
|
|
|
|
float sinf "npy_sinf"(float x) |
|
|
float cosf "npy_cosf"(float x) |
|
|
float tanf "npy_tanf"(float x) |
|
|
float sinhf "npy_sinhf"(float x) |
|
|
float coshf "npy_coshf"(float x) |
|
|
float tanhf "npy_tanhf"(float x) |
|
|
float fabsf "npy_fabsf"(float x) |
|
|
float floorf "npy_floorf"(float x) |
|
|
float ceilf "npy_ceilf"(float x) |
|
|
float rintf "npy_rintf"(float x) |
|
|
float sqrtf "npy_sqrtf"(float x) |
|
|
float log10f "npy_log10f"(float x) |
|
|
float logf "npy_logf"(float x) |
|
|
float expf "npy_expf"(float x) |
|
|
float expm1f "npy_expm1f"(float x) |
|
|
float asinf "npy_asinf"(float x) |
|
|
float acosf "npy_acosf"(float x) |
|
|
float atanf "npy_atanf"(float x) |
|
|
float asinhf "npy_asinhf"(float x) |
|
|
float acoshf "npy_acoshf"(float x) |
|
|
float atanhf "npy_atanhf"(float x) |
|
|
float log1pf "npy_log1pf"(float x) |
|
|
float exp2f "npy_exp2f"(float x) |
|
|
float log2f "npy_log2f"(float x) |
|
|
float atan2f "npy_atan2f"(float x, float y) |
|
|
float hypotf "npy_hypotf"(float x, float y) |
|
|
float powf "npy_powf"(float x, float y) |
|
|
float fmodf "npy_fmodf"(float x, float y) |
|
|
float modff "npy_modff"(float x, float* y) |
|
|
|
|
|
|
|
|
long double sinl "npy_sinl"(long double x) |
|
|
long double cosl "npy_cosl"(long double x) |
|
|
long double tanl "npy_tanl"(long double x) |
|
|
long double sinhl "npy_sinhl"(long double x) |
|
|
long double coshl "npy_coshl"(long double x) |
|
|
long double tanhl "npy_tanhl"(long double x) |
|
|
long double fabsl "npy_fabsl"(long double x) |
|
|
long double floorl "npy_floorl"(long double x) |
|
|
long double ceill "npy_ceill"(long double x) |
|
|
long double rintl "npy_rintl"(long double x) |
|
|
long double sqrtl "npy_sqrtl"(long double x) |
|
|
long double log10l "npy_log10l"(long double x) |
|
|
long double logl "npy_logl"(long double x) |
|
|
long double expl "npy_expl"(long double x) |
|
|
long double expm1l "npy_expm1l"(long double x) |
|
|
long double asinl "npy_asinl"(long double x) |
|
|
long double acosl "npy_acosl"(long double x) |
|
|
long double atanl "npy_atanl"(long double x) |
|
|
long double asinhl "npy_asinhl"(long double x) |
|
|
long double acoshl "npy_acoshl"(long double x) |
|
|
long double atanhl "npy_atanhl"(long double x) |
|
|
long double log1pl "npy_log1pl"(long double x) |
|
|
long double exp2l "npy_exp2l"(long double x) |
|
|
long double log2l "npy_log2l"(long double x) |
|
|
long double atan2l "npy_atan2l"(long double x, long double y) |
|
|
long double hypotl "npy_hypotl"(long double x, long double y) |
|
|
long double powl "npy_powl"(long double x, long double y) |
|
|
long double fmodl "npy_fmodl"(long double x, long double y) |
|
|
long double modfl "npy_modfl"(long double x, long double* y) |
|
|
|
|
|
|
|
|
float deg2radf "npy_deg2radf"(float x) |
|
|
float rad2degf "npy_rad2degf"(float x) |
|
|
float logaddexpf "npy_logaddexpf"(float x, float y) |
|
|
float logaddexp2f "npy_logaddexp2f"(float x, float y) |
|
|
|
|
|
double deg2rad "npy_deg2rad"(double x) |
|
|
double rad2deg "npy_rad2deg"(double x) |
|
|
double logaddexp "npy_logaddexp"(double x, double y) |
|
|
double logaddexp2 "npy_logaddexp2"(double x, double y) |
|
|
|
|
|
long double deg2radl "npy_deg2radl"(long double x) |
|
|
long double rad2degl "npy_rad2degl"(long double x) |
|
|
long double logaddexpl "npy_logaddexpl"(long double x, long double y) |
|
|
long double logaddexp2l "npy_logaddexp2l"(long double x, long double y) |
|
|
|