1 #ifndef _CYTHON_BLAS_HELPERS_H 2 #define _CYTHON_BLAS_HELPERS_H 3 4 typedef double (*dot_func)(int, double*, int, double*, int); 5 typedef void (*axpy_func)(int, double, double*, int, double*, int); 6 typedef void (*scal_func)(int, double, double*, int); 7 typedef double (*nrm2_func)(int, double*, int); 8 9 typedef struct BlasFunctions{ 10 dot_func dot; 11 axpy_func axpy; 12 scal_func scal; 13 nrm2_func nrm2; 14 } BlasFunctions; 15 16 #endif 17