Re: [Numpy-discussion] Stupid question (at least coming from me it is)

2010-01-08 Thread David Goldsmith
On Fri, Jan 8, 2010 at 5:29 PM, Charles R Harris wrote: > > On Fri, Jan 8, 2010 at 5:19 PM, David Goldsmith > wrote: >> >> On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris >> wrote: >> > >> > chebyshev.chebdomain is the default chebyshev domain and is [-1,1]. >> > Maybe it >> > needs a bettter n

Re: [Numpy-discussion] Stupid question (at least coming from me it is)

2010-01-08 Thread Charles R Harris
On Fri, Jan 8, 2010 at 5:19 PM, David Goldsmith wrote: > On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris > wrote: > > > > chebyshev.chebdomain is the default chebyshev domain and is [-1,1]. Maybe > it > > needs a bettter name? Note that it is integer; that isn't required, but > it > > makes it c

Re: [Numpy-discussion] fromfile() for reading text (one more time!)

2010-01-08 Thread Bruce Southey
On Fri, Jan 8, 2010 at 5:12 PM, Christopher Barker wrote: > Bruce Southey wrote: >> Also a user has to check for missing >> values or numpy has to warn a user > > I think warnings are next to useless for all but interactive work -- so > I don't want to rely on them > >> that missing values are pre

Re: [Numpy-discussion] Stupid question (at least coming from me it is)

2010-01-08 Thread David Goldsmith
On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris wrote: > > chebyshev.chebdomain is the default chebyshev domain and is [-1,1]. Maybe it > needs a bettter name? Note that it is integer; that isn't required, but it > makes it compatible with other types like Decimal that don't mix with > floats. An

Re: [Numpy-discussion] fromfile() -- help!

2010-01-08 Thread Christopher Barker
Pauli Virtanen wrote: >> if I have NumPyOS_ascii_ftolf right, it should return 0 if it doesn't >> succesfully read a number. However, this looks like it sets the data in >> *ip, even if the return value is zero. > > It may also return EOF (== -1) when encountering end-of-stream. Of > course, I d

Re: [Numpy-discussion] fromfile() for reading text (one more time!)

2010-01-08 Thread Christopher Barker
Bruce Southey wrote: > Also a user has to check for missing > values or numpy has to warn a user I think warnings are next to useless for all but interactive work -- so I don't want to rely on them > that missing values are present > immediately after reading the data so the appropriate action c

Re: [Numpy-discussion] Stupid question (at least coming from me it is)

2010-01-08 Thread Charles R Harris
On Fri, Jan 8, 2010 at 2:13 PM, David Goldsmith wrote: > So, to get the new numpy.polynomial "sub-package," one has to update to 1.4 > (or is there a 1.3.x that has it)? Thanks! > > Yes. > DG > > PS: my pressing need (another stupid question, at least coming from me): > chebyshev.chebdomain = [

[Numpy-discussion] Stupid question (at least coming from me it is)

2010-01-08 Thread David Goldsmith
So, to get the new numpy.polynomial "sub-package," one has to update to 1.4 (or is there a 1.3.x that has it)? Thanks! DG PS: my pressing need (another stupid question, at least coming from me): chebyshev.chebdomain = [0,1] or [-1,1]? Thanks again! __

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-08 Thread Robert Kern
2010/1/8 Frédéric Bastien : > Hi, > > I while back, someone talked about aigen2(http://eigen.tuxfamily.org/). In > their benchmark they give info that they are competitive again mkl and goto > on matrix matrix product. They are not better, but that could make a good > default implementation for num

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-08 Thread Frédéric Bastien
Hi, I while back, someone talked about aigen2(http://eigen.tuxfamily.org/). In their benchmark they give info that they are competitive again mkl and goto on matrix matrix product. They are not better, but that could make a good default implementation for numpy when their is no blas installed. I t

Re: [Numpy-discussion] 1.4.0 installer fails on OSX 10.6.2

2010-01-08 Thread Robin
On Fri, Jan 8, 2010 at 2:29 AM, David Warde-Farley wrote: > On 5-Jan-10, at 7:02 PM, Christopher Barker wrote: > >>> Pretty sure the python.org binaries are 32-bit only. I still think >>> it's sensible to prefer the >> >> waiting the rest of this sentence.. ;-) > > I had meant to say 'sensible to

Re: [Numpy-discussion] fromfile() -- help!

2010-01-08 Thread Pauli Virtanen
Thu, 07 Jan 2010 17:21:34 -0800, Christopher Barker wrote: [clip] > It does pass on that return value, but, from ctors.c: > > fromfile_next_element(FILE **fp, void *dptr, PyArray_Descr *dtype, >void *NPY_UNUSED(stream_data)) > { > /* the NULL argument is for backwards-

Re: [Numpy-discussion] fromfile() -- help!

2010-01-08 Thread Pauli Virtanen
to, 2010-01-07 kello 17:21 -0800, Christopher Barker kirjoitti: [clip] > if I have NumPyOS_ascii_ftolf right, it should return 0 if it doesn't > succesfully read a number. However, this looks like it sets the data in > *ip, even if the return value is zero. It may also return EOF (== -1) when en