Re: [Numpy-discussion] Grief with a complex value

2006-11-10 Thread Joris De Ridder
On Friday 10 November 2006 13:40, Gary Ruben wrote: [GR]: Does anyone think it might be a good idea to split up the examples list? [GR]: It's getting very big now. I pity any poor modem users (I'm sure they [GR]: still exist). However, I'm not sure that there's a good way to do it. T

Re: [Numpy-discussion] Grief with a complex value

2006-11-10 Thread Gary Ruben
Does anyone think it might be a good idea to split up the examples list? It's getting very big now. I pity any poor modem users (I'm sure they still exist). However, I'm not sure that there's a good way to do it. Gary R. [EMAIL PROTECTED] wrote: >[CJ]: I didn't find "frombuffer" in the Nump

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread joris
[CJ]: I didn't find "frombuffer" in the Numpy Examples List. I just added a frombuffer() example (the 197th example!) which I extracted from your mail. [CJ]: Incidentally, the List is a big help but it would be even better if [CJ]: included the signatures of the functions. Good id

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread Colin J. Williams
Stefan van der Walt wrote: > On Thu, Nov 09, 2006 at 03:18:57AM -0500, Colin J. Williams wrote: > >> >>> import numpy.core as _n >> >>> _nt= _n.numerictypes >> >>> value= >> '[EMAIL PROTECTED]@[EMAIL PROTECTED]@\x00\x00\x00\x00\x00\x00\x18@' >> >>> _n.array(value, dtype= _nt.complex128, c

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread Stefan van der Walt
On Thu, Nov 09, 2006 at 03:18:57AM -0500, Colin J. Williams wrote: > > >>> import numpy.core as _n > >>> _nt= _n.numerictypes > >>> value= > '[EMAIL PROTECTED]@[EMAIL PROTECTED]@\x00\x00\x00\x00\x00\x00\x18@' > >>> _n.array(value, dtype= _nt.complex128, copy=True) > Traceback (most recent cal

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread Colin J. Williams
Robert Kern wrote: > Colin J. Williams wrote: > >> >>> import numpy.core as _n >> >>> _nt= _n.numerictypes >> >>> value= >> '[EMAIL PROTECTED]@[EMAIL PROTECTED]@\x00\x00\x00\x00\x00\x00\x18@' >> >>> _n.array(value, dtype= _nt.complex128, copy=True) >> Traceback (most recent call last): >>

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread Robert Kern
Colin J. Williams wrote: > >>> import numpy.core as _n > >>> _nt= _n.numerictypes > >>> value= > '[EMAIL PROTECTED]@[EMAIL PROTECTED]@\x00\x00\x00\x00\x00\x00\x18@' > >>> _n.array(value, dtype= _nt.complex128, copy=True) > Traceback (most recent call last): > File "", line 1, in > TypeError

[Numpy-discussion] Grief with a complex value

2006-11-09 Thread Colin J. Williams
>>> import numpy.core as _n >>> _nt= _n.numerictypes >>> value= '[EMAIL PROTECTED]@[EMAIL PROTECTED]@\x00\x00\x00\x00\x00\x00\x18@' >>> _n.array(value, dtype= _nt.complex128, copy=True) Traceback (most recent call last): File "", line 1, in TypeError: a float is required >>> A bug? Coli