cdef extern from "Numeric/arrayobject.h":
struct PyArray_Descr:
int type_num, elsize
char type
ctypedef class PyArrayObject [type PyArray_Type]:
cdef char *data
cdef int nd
cdef int *dimensions,
*strides
cdef object base
cdef PyArray_Descr *descr
cdef int flags
void import_array()
Remember to include a call to