[Numpy-discussion] numpy.complex

2012-07-21 Thread OC
Thank you for your answers. Chris Barker wrote: for consistency with the rest of the numpy types Then, why do numpy.complex64(A), numpy.complex128(A), numpy.uint8(A),... all work with arrays? It's very convenient that it works like this! It's awkward that numpy.complex(A) is the only one

Re: [Numpy-discussion] numpy.complex

2012-07-21 Thread Nathaniel Smith
On Sat, Jul 21, 2012 at 4:44 PM, OC oc-spa...@laposte.net wrote: Thank you for your answers. Chris Barker wrote: for consistency with the rest of the numpy types Then, why do numpy.complex64(A), numpy.complex128(A), numpy.uint8(A),... all work with arrays? It's very convenient that it