1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
#ifndef UFUNC_EXTRAS_H
#define UFUNC_EXTRAS_H
#include "Python.h"
#include "numpy/noprefix.h"
typedef int IntFunc_d_dd(double x, double *y, double *z);
typedef int IntFunc_d_dddd(double v, double *w, double *x, double *y, double *z);
typedef int IntFunc_D_DDDD(Py_complex v, Py_complex *w, Py_complex *x, Py_complex *y, Py_complex *z);
typedef int IntFunc_d_DDDD(double v, Py_complex *w, Py_complex *x, Py_complex *y, Py_complex *z);
typedef int IntFunc_dd_dddd(double u, double v, double *w, double *x, double *y, double *z);
typedef int IntFunc_dd_dd(double a, double x, double *wf, double *wd);
typedef int IntFunc_D_DD(Py_complex z, Py_complex *out1, Py_complex *out2);
typedef int IntFunc_ddd_dd(double m, double q, double x, double *csf, double *csd);
typedef int IntFunc_ddddd_dd(double m, double n, double c, double x, double cv, double *s1f, double *s1d);
typedef int IntFunc_d_DD(double x, Py_complex *out1, Py_complex *out2);
typedef double DoubleFunc_id_d(int n, double y);
typedef Py_complex CmplxFunc_dD_D(double v, Py_complex z);
typedef Py_complex CmplxFunc_ddD_D(double a, double b, Py_complex z);
typedef Py_complex CmplxFunc_dddD_D(double a, double b, double c, Py_complex z);
typedef double DoubleFunc_ddd_d(double x, double y, double z);
typedef double DoubleFunc_iid_d(int m, int n, double z);
typedef double DoubleFunc_dddd_d(double w, double x, double y, double z);
typedef double DoubleFunc_dddd_dd(double w, double x, double y, double z, double *err);
typedef double DoubleFunc_dddi_dd(double w, double x, double y, int z, double *err);
extern void PyUFunc_f_ff_As_d_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_d_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_F_FF_As_D_DD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_D_DD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_f_FF_As_d_DD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_d_DD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ff_ff_As_dd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_f_ffff_As_d_dddd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_d_dddd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_f_ffff_As_D_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_d_dddd_As_D_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_F_FFFF_As_D_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_D_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_f_FFFF_As_d_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_d_DDDD(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ff_ffff_As_dd_dddd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dd_dddd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fff_f_As_ddd_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ddd_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fff_ff_As_ddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ff_f_As_id_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dd_d_As_id_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ff_f_As_dD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dd_d_As_dD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fF_F_As_dD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ffF_F_As_ddD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ddD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fffF_F_As_dddD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dddD_D(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fff_f_As_iid_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ddd_d_As_iid_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ffff_f_As_dddd_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dddd_d(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ffff_ff_As_dddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_fffff_ff_As_ddddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ddddd_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_ffff_ff_As_dddi_dd(char **args, intp *dimensions, intp *steps, void *func);
extern void PyUFunc_dddd_dd_As_dddi_dd(char **args, intp *dimensions, intp *steps, void *func);
#endif /* UFUNC_EXTRAS_H */
|