4 Apr
2013
4 Apr
'13
6:08 p.m.
On Apr 4, 2013, at 2:56 PM, James Stroud wrote:
Hi Luc,
On Apr 4, 2013, at 2:34 PM, Luc Bourhis wrote:
Ideally, I would need to know how to get at those types on the C++ side...
Best wishes,
Luc
I think the relevant part of the numpy documentation is here:
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#dealing-with-type...
This may be more generally useful: http://docs.scipy.org/doc/numpy/reference/c-api.array.html#PyArray_DTYPE The relevant fields of the returned PyArray_Descr seem to be kind, byteorder, and elsize. James