annotate c_numpy.pxd @ 4:4fc1d403ad14

fix in apply_mc_all()
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 18 Dec 2007 10:09:28 +0100
parents 4214d9245f8e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 cimport c_python
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3 cdef extern from "numpy/arrayobject.h":
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 ctypedef class numpy.ndarray [object PyArrayObject]:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5 cdef char *data
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6 cdef int nd
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7 cdef c_python.Py_intptr_t *dimensions
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 cdef c_python.Py_intptr_t *strides
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 cdef object base
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 # descr not implemented yet here...
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 cdef int flags
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12 cdef int itemsize
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 cdef object weakreflist
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15 cdef void import_array()

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.