Re: [Numpy-discussion] Unfortunate user experience with max()

2007-05-17 Thread Johannes Loehnert
Hi, This can lead to surprising bugs in code that either explicitly expects it to behave like python's max() or implicitly expects that by doing from numpy import max. my solution is to never use numpy.max. For arrays, I always use the method call (somearray.max()). For everything else

Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-14 Thread Johannes Loehnert
Hi, in error logs as yours, always look for the first line which says error. If it is, like in your case, something like On Sunday, 13. May 2007 19:21:15 dmitrey wrote: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory you are missing

Re: [Numpy-discussion] linalg.eigh orders eigenvalues/eigenvectors differently than linalg.eig

2007-02-19 Thread Johannes Loehnert
On Monday 19 February 2007 12:06, Sven Schreiber wrote: Zachary Pincus schrieb: Hello all, It seems that the 'eigh' routine from numpy.linalg does not follow the same convention as numpy.linalg.eig in terms of the order of the returned eigenvalues. (And thus eigenvectors as well...) I