Re: [Numpy-discussion] Default builds of OpenBLAS development branch are now fork safe

2014-03-28 Thread Matthew Brett
Hi, On Fri, Mar 28, 2014 at 8:58 AM, Robert Kern wrote: > On Fri, Mar 28, 2014 at 2:54 PM, Sturla Molden > wrote: >> Matthew Brett wrote: >> >>> I see it should be possible to build a full blas and partial lapack >>> library with eigen [1] [2]. >&

Re: [Numpy-discussion] Default builds of OpenBLAS development branch are now fork safe

2014-03-28 Thread Matthew Brett
Hi, On Wed, Mar 26, 2014 at 1:41 PM, Nathaniel Smith wrote: > On Wed, Mar 26, 2014 at 7:34 PM, Julian Taylor > wrote: >> as for using openblas by default in binary builds, no. >> pthread openblas build is now fork safe which is great but it is still >> not reliable enough for a default. >> E.g.

Re: [Numpy-discussion] [SciPy-Dev] Windows wheels using MKL?

2014-03-27 Thread Matthew Brett
On Thu, Mar 27, 2014 at 2:04 PM, Robert Kern wrote: > On Thu, Mar 27, 2014 at 7:10 PM, Matthew Brett > wrote: >> Hi, >> >> On Thu, Mar 27, 2014 at 3:18 AM, Robert Kern wrote: > >>> It would be confusing to distribute these non-BSD wheels on the same >>

Re: [Numpy-discussion] Windows wheels using MKL?

2014-03-27 Thread Matthew Brett
Hi, On Thu, Mar 27, 2014 at 12:10 PM, Matthew Brett wrote: > Hi, > > On Thu, Mar 27, 2014 at 3:18 AM, Robert Kern wrote: >> On Thu, Mar 27, 2014 at 12:29 AM, Matthew Brett >> wrote: >>> Hi, >>> >>> On Wed, Mar 26, 2014 at 4:48 PM, Matthew Brett

Re: [Numpy-discussion] Windows wheels using MKL?

2014-03-27 Thread Matthew Brett
Hi, On Thu, Mar 27, 2014 at 3:18 AM, Robert Kern wrote: > On Thu, Mar 27, 2014 at 12:29 AM, Matthew Brett > wrote: >> Hi, >> >> On Wed, Mar 26, 2014 at 4:48 PM, Matthew Brett >> wrote: >>> Hi, >>> >>> Can I check what is stopping us bu

Re: [Numpy-discussion] ANN: NumPy 1.8.1 release

2014-03-26 Thread Matthew Brett
Hi, On Wed, Mar 26, 2014 at 3:02 PM, Chris Barker wrote: > On Wed, Mar 26, 2014 at 8:56 AM, Charles R Harris > wrote: >> >> >>> 5 seconds waiting on a home internet connection and a numpy install >>> Nice. >>> >> >> That's pretty neat. Now if we can get the windows versions to be as easy. >>

Re: [Numpy-discussion] Windows wheels using MKL?

2014-03-26 Thread Matthew Brett
Hi, On Wed, Mar 26, 2014 at 4:48 PM, Matthew Brett wrote: > Hi, > > Can I check what is stopping us building official numpy binary wheels > for Windows using the Intel Math Kernel Library? > > * We'd need developer licenses, but those sound like they would be > easy t

[Numpy-discussion] Windows wheels using MKL?

2014-03-26 Thread Matthew Brett
Hi, Can I check what is stopping us building official numpy binary wheels for Windows using the Intel Math Kernel Library? * We'd need developer licenses, but those sound like they would be easy to come by * We'd have to add something to the license for the wheel on the lines of the Canopy licens

Re: [Numpy-discussion] ANN: NumPy 1.8.1 release

2014-03-25 Thread Matthew Brett
Hi, On Tue, Mar 25, 2014 at 4:38 PM, Julian Taylor wrote: > Hello, > > I'm happy to announce the of Numpy 1.8.1. > This is a bugfix only release supporting Python 2.6 - 2.7 and 3.2 - 3.4. > > More than 48 issues have been fixed, the most important issues are > listed in the release notes: > https

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-11 Thread Matthew Brett
Hi, On Mon, Mar 10, 2014 at 11:09 AM, Ralf Gommers wrote: > > > > On Sat, Mar 8, 2014 at 10:06 PM, Matthew Brett > wrote: >> >> Hi, >> >> Thanks to Chuck and Jarrod for giving me upload permission - wheels >> are on sourceforge now: >> &g

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-10 Thread Matthew Brett
Hi, On Mon, Mar 10, 2014 at 12:37 PM, Chris Barker wrote: > On Mon, Mar 10, 2014 at 10:27 AM, Jens Nielsen > wrote: >> >> If someone is running a brew python and does "pip install numpy" will pip >> find a binary wheel that will then not work? That would be bad, but maybe >> not our problem --

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-08 Thread Matthew Brett
Hi, Thanks to Chuck and Jarrod for giving me upload permission - wheels are on sourceforge now: https://sourceforge.net/projects/numpy/files/NumPy/1.8.1rc1 Until the wheels reach pypi, you'll have to test by: * downloading the python 2.7 or 3.3 wheel to a directory (say the current directory) a

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 12:36 PM, Chris Barker wrote: > On Thu, Mar 6, 2014 at 11:38 AM, Matthew Brett > wrote: >> >> pypi is accepting wheels: >> >> http://pythonwheels.com/ >> https://pypi.python.org/pypi/pyzmq/14.0.1 >> >> Chris B - any comm

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 11:21 AM, Charles R Harris wrote: > > > > On Thu, Mar 6, 2014 at 12:05 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Thu, Mar 6, 2014 at 9:37 AM, Charles R Harris >> wrote: >> > >> > >>

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 9:37 AM, Charles R Harris wrote: > > > > On Thu, Mar 6, 2014 at 10:35 AM, Charles R Harris > wrote: >> >> >> >> >> On Wed, Mar 5, 2014 at 7:28 PM, Matthew Brett >> wrote: >>> >>> Hi, >&

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-05 Thread Matthew Brett
Hi, On Wed, Mar 5, 2014 at 3:29 PM, Matthew Brett wrote: > Hi, > > I built (and tested) some numpy wheels for the rc1: > > http://nipy.bic.berkeley.edu/numpy-dist/ Now building, installing, testing, uploading wheels nightly on OSX 10.9: http://nipy.bic.berkeley.edu/builders/nump

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-05 Thread Matthew Brett
Hi, I built (and tested) some numpy wheels for the rc1: http://nipy.bic.berkeley.edu/numpy-dist/ Cheers, Matthew ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 3:10 PM, Tom Augspurger wrote: > Thanks Chris, > > > Chris Barker - NOAA Federal wrote >> What python are you using? apparently not a Universal 32+64 bit build. The >> one Apple delivers? > > I'm using homebrew python, so the platform difference seems to have come > fr

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 2:33 PM, Chris Barker wrote: > On Wed, Feb 26, 2014 at 11:34 AM, Matthew Brett > wrote: > >> >> > - convention is the other option: >> > - use binary wheel for in-house deplyment to similar systems >> > - use bin

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 11:02 AM, Chris Barker wrote: > On Wed, Feb 26, 2014 at 8:27 AM, Tom Augspurger > wrote: >> >> Thanks for posting those wheels Matthew. >> >> I'm on a Mac (10.9.2) and I had trouble installing numpy from your wheel >> in >> a fresh virtualenv with the latests pip, set

Re: [Numpy-discussion] 1.8.1 release

2014-02-24 Thread Matthew Brett
Hi, On Mon, Feb 24, 2014 at 12:40 PM, Matthew Brett wrote: > Hi, > > On Sun, Feb 23, 2014 at 10:26 AM, Charles R Harris > wrote: >> Hi All, >> >> A lot of fixes have gone into the 1.8.x branch and it looks about time to do >> a bugfix release. There are a c

Re: [Numpy-discussion] 1.8.1 release

2014-02-24 Thread Matthew Brett
Hi, On Sun, Feb 23, 2014 at 10:26 AM, Charles R Harris wrote: > Hi All, > > A lot of fixes have gone into the 1.8.x branch and it looks about time to do > a bugfix release. There are a couple of important bugfixes still to > backport, but if all goes well next weekend, March 1, looks like a good

Re: [Numpy-discussion] How exactly ought 'dot' to work?

2014-02-22 Thread Matthew Brett
Hi, On Sat, Feb 22, 2014 at 4:09 PM, Pauli Virtanen wrote: > 23.02.2014 00:03, Nathaniel Smith kirjoitti: >> Currently numpy's 'dot' acts a bit weird for ndim>2 or ndim<1. In >> practice this doesn't usually matter much, because these are very >> rarely used. But, I would like to nail down the be

Re: [Numpy-discussion] How exactly ought 'dot' to work?

2014-02-22 Thread Matthew Brett
Hi, On Sat, Feb 22, 2014 at 2:03 PM, Nathaniel Smith wrote: > Hi all, > > Currently numpy's 'dot' acts a bit weird for ndim>2 or ndim<1. In > practice this doesn't usually matter much, because these are very > rarely used. But, I would like to nail down the behaviour so we can > say something pre

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 11:40 AM, Pauli Virtanen wrote: > 11.02.2014 21:20, alex kirjoitti: > [clip] >> In the spirit of offsetting this bias and because this thread is >> lacking in examples of projects that use numpy.matrix, here's another >> data point: cvxpy (https://github.com/cvxgrp/cvx

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 8:55 AM, wrote: > > > On Tue, Feb 11, 2014 at 11:25 AM, Matthew Brett > wrote: >> >> Hi, >> >> On Tue, Feb 11, 2014 at 4:16 AM, Jacco Hoekstra - LR >> wrote: >> > For our students, the matrix class is really a

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 4:16 AM, Jacco Hoekstra - LR wrote: > For our students, the matrix class is really appealing as we use a lot of > linear algebra and expressions with matrices simply look better with an > operator instead of a function: > > x=A.I*b > > looks much better than

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 2:33 PM, Pauli Virtanen wrote: > 11.02.2014 00:17, Matthew Brett kirjoitti: > [clip] >> That is a very convincing argument. >> >> What would be the problems (apart from code compatibility) in making >> scipy.sparse use the ndarray s

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 2:11 PM, Pauli Virtanen wrote: > 10.02.2014 23:40, Alan G Isaac kirjoitti: >> On 2/10/2014 4:28 PM, Pauli Virtanen wrote: >>> Starting with asarray won't work: sparse matrices are not >>> subclasses of ndarray. >> >> I was focused on the `matrix` object. For this objec

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 1:52 PM, Charles R Harris wrote: > > > > On Mon, Feb 10, 2014 at 2:28 PM, Pauli Virtanen wrote: >> >> 10.02.2014 23:13, Alan G Isaac kirjoitti: >> > On 2/10/2014 4:03 PM, Pauli Virtanen wrote: >> >> What sparked this discussion (on Github) is that it is not >> >> poss

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:58 PM, wrote: > > > On Mon, Feb 10, 2014 at 3:45 PM, alex wrote: >> >> On Mon, Feb 10, 2014 at 2:36 PM, Matthew Brett >> wrote: >> > Hi, >> > >> > On Mon, Feb 10, 2014 at 6:26 AM, Nathaniel Smith wr

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:39 PM, wrote: > > > On Mon, Feb 10, 2014 at 3:04 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Mon, Feb 10, 2014 at 7:09 AM, Alan G Isaac >> wrote: >> [snip] >> > Just to forestall the usual "just st

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:44 PM, Charles R Harris wrote: > > > > On Mon, Feb 10, 2014 at 1:23 PM, Alan G Isaac wrote: >> >> On 2/10/2014 3:04 PM, Matthew Brett wrote: >> > I teach psychologists and neuroscientists mainly >> >> >> I must s

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:23 PM, Alan G Isaac wrote: > On 2/10/2014 3:04 PM, Matthew Brett wrote: >> I teach psychologists and neuroscientists mainly > > I must suspect that notebook was not for > **undergraduate** psychology students. > At least, not the ones I usu

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 7:09 AM, Alan G Isaac wrote: [snip] > Just to forestall the usual "just start them with arrays, eventually they'll > be grateful" reply, I would want to hear that suggestion only from someone > who has used it successfully with undergraduates in the social sciences. I

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 11:44 AM, wrote: > > > On Mon, Feb 10, 2014 at 2:12 PM, eat wrote: >> >> >> >> >> On Mon, Feb 10, 2014 at 9:08 PM, alex wrote: >>> >>> On Mon, Feb 10, 2014 at 2:03 PM, eat wrote: >>> > Rhetorical or not, but FWIW I'll prefer to take singular value >>> > decompositi

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 6:26 AM, Nathaniel Smith wrote: > On Sun, Feb 9, 2014 at 4:59 PM, alex wrote: >> Hello list, >> >> I wrote this mini-nep for numpy but I've been advised it is more >> appropriate for discussion on the list. >> >> """ >> The ``numpy.matrix`` API provides a low barrier

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-09 Thread Matthew Brett
Hi, On Sun, Feb 9, 2014 at 2:55 PM, alex wrote: > On Sun, Feb 9, 2014 at 5:12 PM, Alan G Isaac wrote: >> On 2/9/2014 4:59 PM, alex wrote: >>> """ >>> The ``numpy.matrix`` API provides a low barrier to using Python >>> for linear algebra, just as the pre-3 Python ``input`` function >>> and ``print

Re: [Numpy-discussion] MKL and OpenBLAS

2014-01-30 Thread Matthew Brett
Hi, On Thu, Jan 30, 2014 at 4:29 AM, Carl Kleffner wrote: > I fully agree with you. But you have to consider the following: > > - the officially mingw-w64 toolchains are build almost the same way. The > only difference is, that they have non-static builds (that would be > preferable for C++ devel

Re: [Numpy-discussion] Loading large NIfTI file -> MemoryError

2014-01-03 Thread Matthew Brett
Hi, On Tue, Dec 31, 2013 at 1:29 PM, Julian Taylor wrote: > > On 31.12.2013 14:13, Amira Chekir wrote: > > Hello together, > > > > I try to load a (large) NIfTI file (DMRI from Human Connectome Project, > > about 1 GB) with NiBabel. > > > > import nibabel as nib > > img = nib.load("dmri.nii.gz")

Re: [Numpy-discussion] (no subject)

2013-11-27 Thread Matthew Brett
Hi, Thanks both - very helpful, Matthew On 11/22/13, Robert Kern wrote: > On Fri, Nov 22, 2013 at 9:23 PM, Matthew Brett > wrote: >> >> Hi, >> >> I'm sorry if I missed something obvious - but is there a vectorized >> way to look for None in a

[Numpy-discussion] (no subject)

2013-11-22 Thread Matthew Brett
Hi, I'm sorry if I missed something obvious - but is there a vectorized way to look for None in an array? In [3]: a = np.array([1, 1]) In [4]: a == object() Out[4]: array([False, False], dtype=bool) In [6]: a == None Out[6]: False (same for object arrays), Thanks a lot, Matthew _

Re: [Numpy-discussion] Updates on using recent mingw for numpy/scipy

2013-11-05 Thread Matthew Brett
Hi David, Thanks a lot for the update. On Tue, Nov 5, 2013 at 10:50 AM, David Cournapeau wrote: > Hi there, > > During pycon.fr sprints, I took some time to look more into building > numpy/scipy wheels on windows with recent mingw (gcc 4.x series). > > tl;dr: While I made some progress, there re

Re: [Numpy-discussion] A context manager for print options

2013-10-27 Thread Matthew Brett
Hi, On Sun, Oct 27, 2013 at 2:01 AM, Neil Girdhar wrote: > Why not replace get_printoptions/set_printoptions with a context manager > accessed using numpy.printoptions in the same way that numpy.errstate > exposes a context manager to seterr/geterr? This would make the set method > redundant. >

Re: [Numpy-discussion] ANN: SciPy 0.13.0 release

2013-10-25 Thread Matthew Brett
Hi, On Sat, Oct 19, 2013 at 2:40 PM, Ralf Gommers wrote: > On behalf of the SciPy development team I'm pleased to announce the > availability of SciPy 0.13.0. This release contains some interesting new > features (see highlights below) and half a year's worth of maintenance work. > 65 people cont

Re: [Numpy-discussion] "official" binaries on web page.

2013-10-23 Thread Matthew Brett
Hi, On Wed, Oct 23, 2013 at 10:55 AM, Pauli Virtanen wrote: > 23.10.2013 20:10, Matthew Brett kirjoitti: > [clip] >> There's no need to prefer one group over the other - we just need to >> make sure that both groups have instructions and binaries they can >> reco

Re: [Numpy-discussion] "official" binaries on web page.

2013-10-23 Thread Matthew Brett
Hi, On Wed, Oct 23, 2013 at 8:16 AM, jim vickroy wrote: > On 10/23/2013 8:51 AM, Chris Barker - NOAA Federal wrote: > > Ralf Gommers wrote: > > but the layout of that page is on > purpose. scipy.org is split into two parts: (a) a SciPy Stack part, and > (b) > a numpy & scipy library part. You'r

Re: [Numpy-discussion] "official" binaries on web page.

2013-10-22 Thread Matthew Brett
Hi, On Tue, Oct 22, 2013 at 2:28 PM, Ralf Gommers wrote: > > > > On Tue, Oct 22, 2013 at 10:44 PM, Chris Barker > wrote: >> >> On Tue, Oct 22, 2013 at 9:36 AM, Ralf Gommers >> wrote: >> > You can argue with the exact wording, >> >> I won't argue, I'll suggest an alternative in a pull request...

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 12:44 PM, Matthew Brett wrote: > Hi, > > On Tue, Oct 8, 2013 at 4:38 AM, Ke Sun wrote: >> On Tue, Oct 08, 2013 at 01:49:14AM -0700, Matthew Brett wrote: >>> Hi, >>> >>> On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun wrote: >

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 4:38 AM, Ke Sun wrote: > On Tue, Oct 08, 2013 at 01:49:14AM -0700, Matthew Brett wrote: >> Hi, >> >> On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun wrote: >> > Dear all, >> > >> > I have written the following function

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun wrote: > Dear all, > > I have written the following function to compute the square distances of a > large > matrix (each sample a row). It compute row by row and print the overall > progress. > The progress output is important and I didn't use matrix m

Re: [Numpy-discussion] Products of small float32 values.

2013-10-02 Thread Matthew Brett
Hi, On Wed, Oct 2, 2013 at 6:00 PM, Dave Cook wrote: > Can someone explain what is going on here? > > In [153]: > > small = ones(1, dtype='float32') > > In [154]: > > small > > Out[154]: > > array([ 1.], dtype=float32) > > In [155]: > > small*1e-45 > > Out[155]: > > array([ 1.40129846e-45], dtyp

[Numpy-discussion] Fwd: New release of bdist_mpkg

2013-08-26 Thread Matthew Brett
Hi, Just in case y'all didn't catch this from other lists: I just did a new release of bdist_mpkg: https://pypi.python.org/pypi/bdist_mpkg/ The main new feature is Python 3 compatibility: https://github.com/matthew-brett/bdist_mpkg/blob/master/Changelog Thanks to Bob Ippoli

Re: [Numpy-discussion] OS X binaries for releases

2013-08-23 Thread Matthew Brett
Hi, On Fri, Aug 23, 2013 at 1:38 PM, Matthew Brett wrote: > Hi, > > On Fri, Aug 23, 2013 at 1:32 PM, Russell E. Owen wrote: >> In article >> , >> Matthew Brett wrote: >> >>> Hi, >>> >>> On Thu, Aug 22, 2013 at 12:14 PM, Russell

Re: [Numpy-discussion] OS X binaries for releases

2013-08-23 Thread Matthew Brett
Hi, On Fri, Aug 23, 2013 at 1:32 PM, Russell E. Owen wrote: > In article > , > Matthew Brett wrote: > >> Hi, >> >> On Thu, Aug 22, 2013 at 12:14 PM, Russell E. Owen wrote: >> > In article >> > , >> > Ralf Gommers wrote: >>

Re: [Numpy-discussion] OS X binaries for releases

2013-08-22 Thread Matthew Brett
Hi, On Thu, Aug 22, 2013 at 12:14 PM, Russell E. Owen wrote: > In article > , > Ralf Gommers wrote: > >> Hi all, >> >> Building binaries for releases is currently quite complex and >> time-consuming. For OS X we need two different machines, because we still >> provide binaries for OS X 10.5 and

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 1:04 PM, Ralf Gommers wrote: > > > > On Thu, Aug 15, 2013 at 9:31 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Thu, Aug 15, 2013 at 12:28 PM, Charles R Harris >> wrote: >> > >> > >> > >>

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 12:28 PM, Charles R Harris wrote: > > > > On Thu, Aug 15, 2013 at 1:22 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Thu, Aug 15, 2013 at 12:10 PM, Ralf Gommers >> wrote: >> > >> > >>

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 12:10 PM, Ralf Gommers wrote: > > > > On Thu, Aug 15, 2013 at 3:42 PM, Charles R Harris > wrote: >> >> Hi All, >> >> I'm thinking of making the 1.8.x branch next Sunday. Any complaints, >> thoughts? > > > First thought: thanks a lot for doing this. I'm afraid I don't

Re: [Numpy-discussion] About ready to start 1.8 release process.

2013-08-13 Thread Matthew Brett
Hi, On Mon, Aug 12, 2013 at 4:16 PM, Chris Barker - NOAA Federal wrote: > On Mon, Aug 12, 2013 at 3:14 PM, Charles R Harris > wrote: > >>> > Datetime64 will not be modified in this release. >>> >>> I now there is neither the time nor the will for all that it needs, >>> but please, please, please

Re: [Numpy-discussion] a list of all available integer dtypes

2013-08-09 Thread Matthew Brett
Hi, On Fri, Aug 9, 2013 at 3:17 PM, Robert Kern wrote: > On Fri, Aug 9, 2013 at 11:06 PM, Valentin Haenel wrote: >> >> Hi, >> >> I have a quick question: Is there a way to get a list of all available >> Numpy integer dtypes programatically? > > [~] > |8> def all_dtypes(cls): > ..> for sub in

Re: [Numpy-discussion] flip array on axis

2013-07-10 Thread Matthew Brett
Hi, On Wed, Jul 10, 2013 at 11:02 AM, Andreas Hilboll wrote: > Hi, > > there are np.flipud and np.fliplr methods to flip 2d arrays on the first > and second dimension, respectively. What can I do to flip an array on an > axis which I don't know before runtime? I'd really like to see a > np.flip(a

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Matthew Brett
Hi, On Sat, Jun 29, 2013 at 10:37 AM, Nathaniel Smith wrote: > So this petered off...any objections to np.full? full and filledwith and filled_with all seem OK to me. On a meta note - anything we can do to stop threads petering off? It seems to happen rather often, Cheers, Matthew __

Re: [Numpy-discussion] low level optimization in NumPy and minivect

2013-06-19 Thread Matthew Brett
Hi, On Wed, Jun 19, 2013 at 1:43 AM, Frédéric Bastien wrote: > Hi, > > > On Mon, Jun 17, 2013 at 5:03 PM, Julian Taylor > wrote: >> >> On 17.06.2013 17:11, Frédéric Bastien wrote: >> > Hi, >> > >> > I saw that recently Julian Taylor is doing many low level optimization >> > like using SSE instru

Re: [Numpy-discussion] saving the lower half of matrix

2013-06-17 Thread Matthew Brett
Hi, On Mon, Jun 17, 2013 at 12:07 PM, Bala subramanian wrote: > Friends, > I have to save only the lower half of a symmetric matrix to a file. I used > numpy.tril to extract the lower half. However when i use 'numpy.savetxt', > numpy saves the whole matrix (with upper half values replaced as zero

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph wrote: > > Thank you very much for this tip. > Is there a typical way to save masked and the rest separately?. Not much > familiar with array handling in numpy. I don't use masked array myself, but it looks like it would be something like: eo

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 1:22 PM, Sudheer Joseph wrote: > Dear Experts, > I was trying to save results of eof analysis to an npz > file and see that it is not possible to save a 3d array as npz file variable. > Is this true even today or are there developments which make

Re: [Numpy-discussion] numpy.filled, again

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 7:49 PM, Eric Firing wrote: > On 2013/06/12 4:18 AM, Nathaniel Smith wrote: >> Now imagine a different new version of this page, if we overload >> 'empty' to add a fill= option. I don't even know how we document that >> on this page. The list will remain: >>empty >

Re: [Numpy-discussion] numpy.filled, again

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith wrote: > Hi all, > > It looks like we've gotten a bit confused and need to untangle > something. There's a PR to add new functions 'np.filled' and > 'np.filled_like': > https://github.com/numpy/numpy/pull/2875 > And there was a discussion abo

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Matthew Brett
Hi, On Tue, Jun 11, 2013 at 5:17 AM, Pauli Virtanen wrote: > David Cournapeau gmail.com> writes: > [clip] >> What is the default ABI used on homebrew ? I think we should just >> follow that, given that Apple cannot figure it out. > > I think for Scipy homebrew uses the Gfortran ABI: > https://tr

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-05-01 Thread Matthew Brett
Hi, On Wed, May 1, 2013 at 1:01 PM, Sebastian Berg wrote: > On Wed, 2013-05-01 at 15:29 -0400, Yaroslav Halchenko wrote: >> just for completeness... I haven't yet double checked if I have done it >> correctly but here is the bisected commit: >> >> aed9925a9d5fe9a407d0ca2c65cb577116c4d0f1 is the f

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-05-01 Thread Matthew Brett
HI, On Wed, May 1, 2013 at 9:09 AM, Yaroslav Halchenko wrote: > > On Wed, 01 May 2013, Nathaniel Smith wrote: >> > not sure there is anything to fix here. Third-party code relying on a >> > certain outcome of rounding error is likely incorrect anyway. > >> Yeah, seems to just be the standard floa

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-04-30 Thread Matthew Brett
Hi, On Tue, Apr 30, 2013 at 9:16 PM, Matthew Brett wrote: > Hi, > > On Tue, Apr 30, 2013 at 8:08 PM, Yaroslav Halchenko > wrote: >> could anyone on 32bit system with fresh numpy (1.7.1) test following: >> >>> wget -nc http://www.onerussian.com/tmp/data.npy ; p

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-04-30 Thread Matthew Brett
Hi, On Tue, Apr 30, 2013 at 8:08 PM, Yaroslav Halchenko wrote: > could anyone on 32bit system with fresh numpy (1.7.1) test following: > >> wget -nc http://www.onerussian.com/tmp/data.npy ; python -c 'import numpy as >> np; data1 = np.load("/tmp/data.npy"); print np.sum(data1[1,:,0,1]) - >> np

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-30 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 3:15 PM, Matthew Brett wrote: > Hi, > > On Sat, Apr 6, 2013 at 1:35 PM, Ralf Gommers wrote: >> >> >> >> On Sat, Apr 6, 2013 at 7:22 PM, Matthew Brett >> wrote: >>> >>> Hi, >>> >>> On Sat, Apr

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-26 Thread Matthew Brett
Hi, On Fri, Apr 26, 2013 at 10:02 AM, Andrew Giessel wrote: > I like this, thank you Phil. > > From what I can see, the ordering of the returned slices when you use more > than one axis (ie: slices(a, [1,2]), increments the last axis fastest. Does > this makes sense based on the default ordering

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-25 Thread Matthew Brett
Hi, On Thu, Apr 25, 2013 at 10:42 AM, Robert Kern wrote: > On Thu, Apr 25, 2013 at 6:30 PM, Matthew Brett > wrote: >> Hi, >> >> On Thu, Apr 25, 2013 at 10:14 AM, Robert Kern wrote: >>> On Wed, Apr 24, 2013 at 10:37 PM, andrew giessel >>> wrote

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-25 Thread Matthew Brett
Hi, On Thu, Apr 25, 2013 at 10:14 AM, Robert Kern wrote: > On Wed, Apr 24, 2013 at 10:37 PM, andrew giessel > wrote: >> Hello all- >> >> A while back I emailed the list about function for the numpy namespace, >> iteraxis(), which allows you to generalize the default iteration behavior of >> nump

Re: [Numpy-discussion] Canopy and Anaconda

2013-04-11 Thread Matthew Brett
Hi, On Wed, Apr 10, 2013 at 4:54 PM, David Cournapeau wrote: > > Hi Colin, > > Please ask Canopy question on the corresponding Enthought list, or Anaconda > questions on the corresponding channel at continuum. > > This Mailing List is for discussion about NumPy itself, > > David > > On Thu, Apr

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 1:35 PM, Ralf Gommers wrote: > > > > On Sat, Apr 6, 2013 at 7:22 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Sat, Apr 6, 2013 at 1:51 AM, Ralf Gommers >> wrote: >> > >> > >> > >&g

Re: [Numpy-discussion] Numpy discussion - was: Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 10:18 AM, matti picus wrote: > as a lurker, may I say that this discussion seems to have become > non-productive? Well - the discussion is about two things - as so often the case on numpy. The first is about the particular change. The second is implicit, and keeps co

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 1:51 AM, Ralf Gommers wrote: > > > > On Sat, Apr 6, 2013 at 4:47 AM, Matthew Brett > wrote: >> >> Hi, >> >> On Fri, Apr 5, 2013 at 7:39 PM, wrote: >> > >> > It's not *any* cost, this goes deep and wide,

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 8:31 PM, wrote: > On Fri, Apr 5, 2013 at 10:47 PM, Matthew Brett > wrote: >> Hi, >> >> On Fri, Apr 5, 2013 at 7:39 PM, wrote: >>> On Fri, Apr 5, 2013 at 9:50 PM, Matthew Brett >>> wrote: >>>> Hi, >>&

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 7:39 PM, wrote: > On Fri, Apr 5, 2013 at 9:50 PM, Matthew Brett wrote: >> Hi, >> >> On Fri, Apr 5, 2013 at 4:27 PM, wrote: >>> On Fri, Apr 5, 2013 at 6:09 PM, Matthew Brett >>> wrote: >>>> Hi, >>>>

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 4:27 PM, wrote: > On Fri, Apr 5, 2013 at 6:09 PM, Matthew Brett wrote: >> Hi, >> >> On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers wrote: >>> >>> >>> >>> On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett >>

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 3:09 PM, Matthew Brett wrote: > Hi, > > On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers wrote: >> >> >> >> On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett >> wrote: >>> >>> Hi, >>> >>> On Fri,

[Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers wrote: > > > > On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Fri, Apr 5, 2013 at 3:09 PM, Ralf Gommers >> wrote: >> > >> > >> > >&g

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 3:09 PM, Ralf Gommers wrote: > > > > On Fri, Apr 5, 2013 at 5:13 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Fri, Apr 5, 2013 at 2:20 AM, Sebastian Berg >> wrote: >> > Hey >> > >> > On Thu,

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 2:20 AM, Sebastian Berg wrote: > Hey > > On Thu, 2013-04-04 at 14:20 -0700, Matthew Brett wrote: >> Hi, >> >> On Tue, Apr 2, 2013 at 4:32 AM, Nathaniel Smith wrote: >> >> > Maybe we should go through and rename "order&q

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 4:32 AM, Nathaniel Smith wrote: > Maybe we should go through and rename "order" to something more descriptive > in each case, so we'd have > a.reshape(..., index_order="C") > a.copy(memory_order="F") > etc.? I'd like to propose this instead: a.reshape(..., order=

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 1:53 PM, Sebastian Berg wrote: > On Thu, 2013-04-04 at 12:40 -0700, Matthew Brett wrote: >> Hi, >> > >> >> So - to restate in other words - this : >> >> np.reshape(a, (3, 4), order='F') >> >> could rea

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 1:33 PM, wrote: > On Thu, Apr 4, 2013 at 4:02 PM, Matthew Brett wrote: >> Hi, >> >> On Thu, Apr 4, 2013 at 12:54 PM, wrote: >>> On Thu, Apr 4, 2013 at 3:40 PM, Matthew Brett >>> wrote: >>>> Hi, >>>> &

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 12:54 PM, wrote: > On Thu, Apr 4, 2013 at 3:40 PM, Matthew Brett wrote: >> Hi, >> >> On Thu, Apr 4, 2013 at 11:45 AM, Matthew Brett >> wrote: >>> Hi, >>> >>> On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA F

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 11:45 AM, Matthew Brett wrote: > Hi, > > On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA Federal > wrote: >> On Wed, Apr 3, 2013 at 6:13 PM, Matthew Brett >> wrote: >>>> We all agree that 'order' is used with two d

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA Federal wrote: > On Wed, Apr 3, 2013 at 6:13 PM, Matthew Brett wrote: >>> We all agree that 'order' is used with two different and orthogonal >>> meanings in numpy. > > well, not entirely orthogonal

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA Federal wrote: > On Wed, Apr 3, 2013 at 6:13 PM, Matthew Brett wrote: >>> We all agree that 'order' is used with two different and orthogonal >>> meanings in numpy. Brief thank you for your helpful and thou

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-03 Thread Matthew Brett
Hi, On Wed, Apr 3, 2013 at 11:44 AM, Matthew Brett wrote: > Hi, > > On Wed, Apr 3, 2013 at 8:52 AM, Chris Barker - NOAA Federal > wrote: >> On Wed, Apr 3, 2013 at 6:24 AM, Sebastian Berg >> wrote: >>>> the context where it gets applied. So giving the same

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-03 Thread Matthew Brett
Hi, On Wed, Apr 3, 2013 at 8:52 AM, Chris Barker - NOAA Federal wrote: > On Wed, Apr 3, 2013 at 6:24 AM, Sebastian Berg > wrote: >>> the context where it gets applied. So giving the same strategy two >>> different names is silly; if anything it's the contexts that should >>> have different names

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-03 Thread Matthew Brett
Hi, On Wed, Apr 3, 2013 at 5:19 AM, wrote: > On Tue, Apr 2, 2013 at 9:09 PM, Matthew Brett wrote: >> Hi, >> >> On Tue, Apr 2, 2013 at 7:09 PM, wrote: >>> On Tue, Apr 2, 2013 at 5:52 PM, Nathaniel Smith wrote: >>>> On Tue, Apr 2, 2013 at 10:21 PM,

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 7:09 PM, wrote: > On Tue, Apr 2, 2013 at 5:52 PM, Nathaniel Smith wrote: >> On Tue, Apr 2, 2013 at 10:21 PM, Matthew Brett >> wrote: >>>> This is like observing that if I say "go North" then it's ambiguous >>&

<    1   2   3   4   5   6   7   8   9   10   >