Re: [Numpy-discussion] Access dtype kind from cython

2014-12-29 Thread Eric Moore
On Monday, December 29, 2014, Valentin Haenel wrote: > Hi, > > how do I access the kind of the data from cython, i.e. the single > character string: > > 'b' boolean > 'i' (signed) integer > 'u' unsigned integer > 'f' floating-point > 'c' complex-floating point > 'O' (Python) objects > 'S', 'a' (b

[Numpy-discussion] Access dtype kind from cython

2014-12-29 Thread Valentin Haenel
Hi, how do I access the kind of the data from cython, i.e. the single character string: 'b' boolean 'i' (signed) integer 'u' unsigned integer 'f' floating-point 'c' complex-floating point 'O' (Python) objects 'S', 'a' (byte-)string 'U' Unicode 'V' raw data (void) In regular Python I can do: In

Re: [Numpy-discussion] npymath on Windows

2014-12-29 Thread Matthew Brett
Hi, On Sun, Dec 28, 2014 at 4:17 PM, David Cournapeau wrote: > > > On Sun, Dec 28, 2014 at 1:59 AM, Matthew Brett > wrote: >> >> Hi, >> >> Sorry for this ignorant email, but we got confused trying to use >> 'libnpymath.a' from the mingw builds of numpy: >> >> We were trying to link against the m