[Numpy-discussion] find_common_type broken?

2009-07-11 Thread Ralf Gommers
Hi, While documenting find_common_type I found two problems. As I understand it, "common type" is a type to which all input types can be cast without loss of precision. 1. using any array types always returns "dtype('object')": >>> np.find_common_type([np.ndarray], []) dtype('object') >>> np.find

[Numpy-discussion] Small fix to nosetester

2009-07-11 Thread Gael Varoquaux
Right now the logics to detect package name in nosetester is fairly simple, and fails for non-standard instal path. I have opened up a ticket for that, with a fix: http://projects.scipy.org/numpy/ticket/1168 Gaƫl ___ NumPy-Discussion mailing list NumPy-

Re: [Numpy-discussion] speed up np.diag

2009-07-11 Thread Keith Goodman
On Sat, Jul 11, 2009 at 11:00 AM, Citi, Luca wrote: > I have submitted Ticket #1167 with a patch > to speed up diag and eye. > On average the code is 3 times faster (but > up to 9!). Wow! That's great. With your speed ups it won't be long before I use np.diag(np.eye(10)) instead of np.ones(10) ;

Re: [Numpy-discussion] speed up np.diag

2009-07-11 Thread Citi, Luca
I have submitted Ticket #1167 with a patch to speed up diag and eye. On average the code is 3 times faster (but up to 9!). ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] argmin and argmax

2009-07-11 Thread Keith Goodman
On Sat, Jul 11, 2009 at 7:09 AM, Keith Goodman wrote: > On Sat, Jul 11, 2009 at 3:20 AM, f0X_in_s0X wrote: >> >> Do argmin and argmax skip nan values? I cant find it anywhere in the numpy >> documentation. >> >> In any case, if I want to find max and min values in an array that may >> contain nan v

Re: [Numpy-discussion] argmin and argmax

2009-07-11 Thread Keith Goodman
On Sat, Jul 11, 2009 at 3:20 AM, f0X_in_s0X wrote: > > Do argmin and argmax skip nan values? I cant find it anywhere in the numpy > documentation. > > In any case, if I want to find max and min values in an array that may > contain nan values also, what would the be the most efficient way to do > t

Re: [Numpy-discussion] ANN: SciPy 2009 early registration extended to July 17th

2009-07-11 Thread Charles R Harris
On Sat, Jul 11, 2009 at 2:32 AM, Jarrod Millman wrote: > The early registration deadline for SciPy 2009 has been extended > for one week to July 17, 2009. Please register ( > http://conference.scipy.org/to_register ) > by this date to take advantage of the reduced early registration rate. Why i

[Numpy-discussion] argmin and argmax

2009-07-11 Thread f0X_in_s0X
Do argmin and argmax skip nan values? I cant find it anywhere in the numpy documentation. In any case, if I want to find max and min values in an array that may contain nan values also, what would the be the most efficient way to do that? Any pointers?? -- View this message in context: http://

[Numpy-discussion] ANN: SciPy 2009 early registration extended to July 17th

2009-07-11 Thread Jarrod Millman
The early registration deadline for SciPy 2009 has been extended for one week to July 17, 2009. Please register ( http://conference.scipy.org/to_register ) by this date to take advantage of the reduced early registration rate. About the conference SciPy 2009, the 8th Python