On 2-Mar-10, at 7:23 PM, James Bergstra wrote: > Sorry... again... how do I make such a scalar... *in C* ? What would > be the recommended C equivalent of this python code? Are there C > type-checking functions for instances of these objects? Are there C > functions for converting to and from C scalars? > > Basically, is there a C API for working with these numpy scalars?
This bit looks relevant: http://projects.scipy.org/numpy/browser/trunk/numpy/core/src/multiarray/scalarapi.c?rev=7560#L565 David _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion