Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-28 Thread Matthew Brett
Hi, On Thu, Jun 28, 2012 at 2:57 PM, Fernando Perez fperez@gmail.com wrote: On Thu, Jun 28, 2012 at 2:07 PM, Matthew Brett matthew.br...@gmail.com wrote: I see that sympy, for example, has only one mailing list, and that works extremely well.  I'd be interested to hear from the Cython

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-28 Thread Matthew Brett
Hi, On Thu, Jun 28, 2012 at 3:06 PM, srean srean.l...@gmail.com wrote: And I continue to think it sends the wrong message. Maybe if you articulate your fears I will be able to appreciate your point of view more. Ah - I'm afraid I don't know how to say what I mean more clearly :( I can

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-28 Thread Matthew Brett
Hi, On Thu, Jun 28, 2012 at 3:20 PM, Fernando Perez fperez@gmail.com wrote: On Thu, Jun 28, 2012 at 3:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Fernando - you told me a week or so ago that you'd come across a blog post or similar advocating a single list - do you remember

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-28 Thread Matthew Brett
Hi, On Thu, Jun 28, 2012 at 7:50 PM, srean srean.l...@gmail.com wrote: I like this solution and I think ask.scipy.org can be revived to take over that role, but this will need some policing to send standard questions there and also some hangout time at ask.scipy.org. Sounds like a good idea

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-26 Thread Matthew Brett
Hi, On Mon, Jun 18, 2012 at 3:50 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Jun 17, 2012 at 7:22 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 16, 2012 at 2:33 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 8:03 PM

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-26 Thread Matthew Brett
Hi, On Tue, Jun 26, 2012 at 4:39 PM, Benjamin Root ben.r...@ou.edu wrote: On Tuesday, June 26, 2012, Charles R Harris wrote: On Tue, Jun 26, 2012 at 3:42 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Jun 18, 2012 at 3:50 PM, Matthew Brett matthew.br...@gmail.com wrote

Re: [Numpy-discussion] NumPy 1.7 release delays

2012-06-26 Thread Matthew Brett
Hi, On Tue, Jun 26, 2012 at 6:00 PM, Fernando Perez fperez@gmail.com wrote: On Tue, Jun 26, 2012 at 5:40 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Do you use anything else besides Travis CI? Yes, we use both Shining Panda and Travis CI: https://jenkins.shiningpanda.com/ipython/

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-26 Thread Matthew Brett
Hi, On Tue, Jun 26, 2012 at 5:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Jun 26, 2012 at 5:46 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, Jun 26, 2012 at 4:39 PM, Benjamin Root ben.r...@ou.edu wrote: On Tuesday, June 26, 2012, Charles R Harris

Re: [Numpy-discussion] NumPy 1.7 release delays

2012-06-26 Thread Matthew Brett
Hi, On Tue, Jun 26, 2012 at 8:13 PM, Travis Oliphant tra...@continuum.io wrote: For the main repos we use buildbot and test on: Ubuntu Maverick 32-bit Debian sid 64-bit OSX 10.4 PPC OSX 10.5 Intel Debian wheezy PPC Debian squeeze ARM (a Raspberry PI no less) WIndows XP 32 bit SPARC

Re: [Numpy-discussion] Bizarre errors with byteswapping, complex256, PPC

2012-06-21 Thread Matthew Brett
Hi, On Wed, Jun 20, 2012 at 11:57 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Jun 21, 2012 at 12:11 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Jun 20, 2012 at 10:43 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Jun 20, 2012 at 4

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-18 Thread Matthew Brett
Hi, On Sun, Jun 17, 2012 at 7:22 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 16, 2012 at 2:33 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 8:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 10:40

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-17 Thread Matthew Brett
Hi, On Sat, Jun 16, 2012 at 1:33 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 8:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 10:40 AM, Nathaniel Smith n...@pobox.com wrote: On Fri, Jun 15, 2012 at 4:10 AM, Charles R

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-16 Thread Matthew Brett
Hi, On Sat, Jun 16, 2012 at 10:40 AM, Nathaniel Smith n...@pobox.com wrote: On Fri, Jun 15, 2012 at 4:10 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Jun 14, 2012 at 8:06 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I noticed that numpy.linalg.matrix_rank

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-16 Thread Matthew Brett
Hi, On Sat, Jun 16, 2012 at 8:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 16, 2012 at 10:40 AM, Nathaniel Smith n...@pobox.com wrote: On Fri, Jun 15, 2012 at 4:10 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Jun 14, 2012 at 8:06 PM, Matthew Brett

Re: [Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-15 Thread Matthew Brett
Hi, On Thu, Jun 14, 2012 at 8:10 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Jun 14, 2012 at 8:06 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I noticed that numpy.linalg.matrix_rank sometimes gives full rank for matrices that are numerically rank deficient

[Numpy-discussion] Matrix rank default tolerance - is it too low?

2012-06-14 Thread Matthew Brett
Hi, I noticed that numpy.linalg.matrix_rank sometimes gives full rank for matrices that are numerically rank deficient: If I repeatedly make random matrices, then set the first column to be equal to the sum of the second and third columns: def make_deficient():    X = np.random.normal(size=(40,

Re: [Numpy-discussion] Fixing issue of future opaqueness of ndarray this summer

2012-05-12 Thread Matthew Brett
Hi, On Sat, May 12, 2012 at 5:30 PM, Travis Oliphant tra...@continuum.io wrote: Your thoughts are definitely the future.   We are currently building such a thing.   We would like it to be open source.    We are currently preparing a proposal to DARPA as part of their XDATA proposal in order

Re: [Numpy-discussion] Fixing issue of future opaqueness of ndarray this summer

2012-05-12 Thread Matthew Brett
Hi, On Sat, May 12, 2012 at 7:24 PM, Travis Oliphant tra...@continuum.io wrote: On May 12, 2012, at 9:01 PM, Matthew Brett wrote: Hi, On Sat, May 12, 2012 at 5:30 PM, Travis Oliphant tra...@continuum.io wrote: Your thoughts are definitely the future.   We are currently building

Re: [Numpy-discussion] Missing data wrap-up and request for comments

2012-05-10 Thread Matthew Brett
Hi, On Thu, May 10, 2012 at 2:43 AM, Nathaniel Smith n...@pobox.com wrote: Hi Matthew, On Thu, May 10, 2012 at 12:01 AM, Matthew Brett matthew.br...@gmail.com wrote: The third proposal is certainly the best one from Cython's perspective; and I imagine for those writing C extensions against

Re: [Numpy-discussion] Missing data wrap-up and request for comments

2012-05-09 Thread Matthew Brett
Hi, On Wed, May 9, 2012 at 12:44 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 05/09/2012 06:46 PM, Travis Oliphant wrote: Hey all, Nathaniel and Mark have worked very hard on a joint document to try and explain the current status of the missing-data debate. I think they've

Re: [Numpy-discussion] Continuous Integration

2012-05-01 Thread Matthew Brett
Hi, On Tue, May 1, 2012 at 9:56 AM, Pauli Virtanen p...@iki.fi wrote: 01.05.2012 11:14, David Froger kirjoitti: Excerpts from Travis Oliphant's message of mar. mai 01 01:39:26 +0200 2012: If you have particular reasons why we should choose a particular CI service, please speak up and let

Re: [Numpy-discussion] Continuous Integration

2012-05-01 Thread Matthew Brett
Hi, On Tue, May 1, 2012 at 3:22 PM, Chris Ball ceb...@gmail.com wrote: Pauli Virtanen pav at iki.fi writes: 01.05.2012 11:14, David Froger kirjoitti: Excerpts from Travis Oliphant's message of mar. mai 01 01:39:26 +0200 2012: If you have particular reasons why we should choose a

Re: [Numpy-discussion] What is consensus anyway

2012-04-25 Thread Matthew Brett
Hi, On Wed, Apr 25, 2012 at 9:39 AM, Travis Oliphant tra...@continuum.io wrote: I don't agree here. People work on open source to scratch an itch, so the process of making a contribution needs to be easy. Widespread veto makes it more difficult and instead of opening up the process, closes it

Re: [Numpy-discussion] What is consensus anyway

2012-04-25 Thread Matthew Brett
Hi, On Wed, Apr 25, 2012 at 2:35 PM, Travis Oliphant tra...@continuum.io wrote: Do you agree that Numpy has not been very successful in recruiting and maintaining new developers compared to its large user-base? Compared to - say - Sympy? Why do you think this is? I think it's mostly

Re: [Numpy-discussion] What is consensus anyway

2012-04-25 Thread Matthew Brett
Hi, On Wed, Apr 25, 2012 at 1:35 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Apr 25, 2012 at 9:39 AM, Travis Oliphant tra...@continuum.io wrote: I don't agree here. People work on open source to scratch an itch, so the process of making a contribution needs to be easy

Re: [Numpy-discussion] What is consensus anyway

2012-04-25 Thread Matthew Brett
Hi, On Wed, Apr 25, 2012 at 3:24 PM, josef.p...@gmail.com wrote: On Wed, Apr 25, 2012 at 5:54 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Apr 25, 2012 at 2:35 PM, Travis Oliphant tra...@continuum.io wrote: Do you agree that Numpy has not been very successful

Re: [Numpy-discussion] What is consensus anyway

2012-04-24 Thread Matthew Brett
Hi, On Tue, Apr 24, 2012 at 6:14 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Apr 23, 2012 at 11:35 PM, Fernando Perez fperez@gmail.com wrote: On Mon, Apr 23, 2012 at 8:49 PM, Stéfan van der Walt ste...@sun.ac.za wrote: If you are referring to the traditional concept

Re: [Numpy-discussion] What is consensus anyway

2012-04-24 Thread Matthew Brett
Hi, On Tue, Apr 24, 2012 at 2:25 PM, Charles R Harris charlesr.har...@gmail.com wrote: 2012/4/24 Stéfan van der Walt ste...@sun.ac.za On Tue, Apr 24, 2012 at 11:12 AM, Charles R Harris charlesr.har...@gmail.com wrote: The advantage of nans, I suppose, is that they are in the hardware and

Re: [Numpy-discussion] What is consensus anyway

2012-04-24 Thread Matthew Brett
Hi, On Tue, Apr 24, 2012 at 6:12 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Apr 24, 2012 at 6:56 PM, Nathaniel Smith n...@pobox.com wrote: On Tue, Apr 24, 2012 at 2:14 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Apr 23, 2012 at 11:35 PM, Fernando

Re: [Numpy-discussion] What is consensus anyway

2012-04-23 Thread Matthew Brett
Hi, On Sun, Apr 22, 2012 at 3:15 PM, Nathaniel Smith n...@pobox.com wrote: If you hang around big FOSS projects, you'll see the word consensus come up a lot. For example, the glibc steering committee recently dissolved itself in favor of governance directly by the consensus of the people

Re: [Numpy-discussion] What is consensus anyway

2012-04-23 Thread Matthew Brett
Hi, On Mon, Apr 23, 2012 at 12:33 PM, Nathaniel Smith n...@pobox.com wrote: On Mon, Apr 23, 2012 at 1:04 AM, Charles R Harris charlesr.har...@gmail.com wrote: Linux is Linus' private tree. Everything that goes in is his decision, everything that stays out is his decision. Of course, he

Re: [Numpy-discussion] What is consensus anyway

2012-04-23 Thread Matthew Brett
Hi, On Mon, Apr 23, 2012 at 3:08 PM, Travis Oliphant tra...@continuum.io wrote: Linux: Technically, everything you say is true. In practice, good luck convincing Linus or a subsystem maintainer to accept your patch when other people are raising substantive complaints. Here's an email I

Re: [Numpy-discussion] A 1.6.2 release?

2012-04-20 Thread Matthew Brett
Hi, On Fri, Apr 20, 2012 at 11:04 AM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, Given the amount of new stuff coming in 1.7 and the slip in it's schedule, I wonder if it would be worth putting out a 1.6.2 release with fixes for einsum, ticket 1578, perhaps some others. My

[Numpy-discussion] Casting rules - an awkward case

2012-04-18 Thread Matthew Brett
Hi, I just wanted to point out a situation where the scalar casting rules can be a little confusing: In [113]: a - np.int16(128) Out[113]: array([-256, -1], dtype=int16) In [114]: a + np.int16(-128) Out[114]: array([ 0, -1], dtype=int8) This is predictable from the nice docs here:

Re: [Numpy-discussion] Casting rules - an awkward case

2012-04-18 Thread Matthew Brett
Oops, sorry, Keith Goodman kindly pointed out that I had missed out: On Wed, Apr 18, 2012 at 11:03 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I just wanted to point out a situation where the scalar casting rules can be a little confusing: In [110]: a = np.array([-128, 127], dtype

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-17 Thread Matthew Brett
Hi, On Tue, Apr 17, 2012 at 7:24 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Apr 17, 2012 at 5:59 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Apr 16, 2012 at 8:40 PM, Travis Oliphant tra...@continuum.io wrote: Mark and I will have conversations about NumPy while he

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-17 Thread Matthew Brett
Hi, On Tue, Apr 17, 2012 at 12:04 PM, Fernando Perez fperez@gmail.com wrote: On Tue, Apr 17, 2012 at 11:40 AM, Matthew Brett matthew.br...@gmail.com wrote: I'm glad to hear that discussion is happening, but please do have it on list.   If it's off list it easy for people to feel

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-17 Thread Matthew Brett
On Tue, Apr 17, 2012 at 12:32 PM, Fernando Perez fperez@gmail.com wrote: On Tue, Apr 17, 2012 at 12:10 PM, Matthew Brett matthew.br...@gmail.com wrote: Right - but that would be an absurd overstatement of what I said. There's no point in addressing something I didn't say and no sensible

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-16 Thread Matthew Brett
Hi, On Mon, Apr 16, 2012 at 3:06 PM, Travis Oliphant tra...@continuum.io wrote: I have heard from a few people that they are not excited by the growth of the NumPy data-structure by the 3 pointers needed to hold the masked-array storage.   This is especially true when there is talk to

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-16 Thread Matthew Brett
Hi, On Mon, Apr 16, 2012 at 6:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Apr 16, 2012 at 3:06 PM, Travis Oliphant tra...@continuum.io wrote: I have heard from a few people that they are not excited by the growth of the NumPy data-structure by the 3 pointers needed

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-16 Thread Matthew Brett
Hi, On Mon, Apr 16, 2012 at 7:46 PM, Travis Oliphant tra...@continuum.io wrote: On Apr 16, 2012, at 8:03 PM, Matthew Brett wrote: Hi, On Mon, Apr 16, 2012 at 3:06 PM, Travis Oliphant tra...@continuum.io wrote: I have heard from a few people that they are not excited by the growth

Re: [Numpy-discussion] Removing masked arrays for 1.7? (Was 1.7 blockers)

2012-04-16 Thread Matthew Brett
Hi, On Mon, Apr 16, 2012 at 8:40 PM, Travis Oliphant tra...@continuum.io wrote: I think the answer to this is yes, but it could be as a feature-filled sub-class (like the current numpy.ma, except in C). I'd love to hear that argument fleshed out in more detail - do you have time? My

Re: [Numpy-discussion] Slice specified axis

2012-04-06 Thread Matthew Brett
Hi, On Fri, Apr 6, 2012 at 1:12 PM, Tony Yu tsy...@gmail.com wrote: On Fri, Apr 6, 2012 at 8:54 AM, Benjamin Root ben.r...@ou.edu wrote: On Friday, April 6, 2012, Val Kalatsky wrote: The only slicing short-cut I can think of is the Ellipsis object, but it's not going to help you much

Re: [Numpy-discussion] speed of append_fields() in numpy.lib.recfunctions vs matplotlib.mlab

2012-04-06 Thread Matthew Brett
Hi, On Fri, Apr 6, 2012 at 3:50 PM, cgraves christoph.gra...@gmail.com wrote: It seems that the speed of append_fields() in numpy.lib.recfunctions is much slower than rec_append_fields() in matplotlib.mlab. See the following code: As I remember it (Pierre M can probably correct me) the

Re: [Numpy-discussion] One question about the numpy.linalg.eig() routine

2012-04-02 Thread Matthew Brett
Hi, 2012/4/2 Hongbin Zhang hongbin_zhan...@hotmail.com: Dear Python-users, I am currently very confused about the Scipy routine to obtain the eigenvectors of a complex matrix. In attached you find two files to diagonalize a 2X2 complex Hermitian matrix, however, on my computer, If I run

Re: [Numpy-discussion] One question about the numpy.linalg.eig() routine

2012-04-02 Thread Matthew Brett
Hi, On Mon, Apr 2, 2012 at 5:38 PM, Val Kalatsky kalat...@gmail.com wrote: Both results are correct. There are 2 factors that make the results look different: 1) The order: the 2nd eigenvector of the numpy solution corresponds to the 1st eigenvector of your solution, note that the vectors

[Numpy-discussion] Build error on OSX from commit 72c6fbd

2012-03-17 Thread Matthew Brett
Hi, As of commit 72c6fbd, I am getting the appended build error on OSX 10.6.8. I couldn't immediately see what might have caused the problem. Cheers, Matthew ... creating build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot

Re: [Numpy-discussion] Build error on OSX from commit 72c6fbd

2012-03-17 Thread Matthew Brett
Hi, On Sat, Mar 17, 2012 at 2:10 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sat, Mar 17, 2012 at 9:24 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, As of commit 72c6fbd, I am getting the appended build error on OSX 10.6.8.  I couldn't immediately see what might have

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-16 Thread Matthew Brett
Hi, On Fri, Mar 16, 2012 at 5:36 AM, josef.p...@gmail.com wrote: On Fri, Mar 16, 2012 at 2:10 AM, Ilan Schnell ischn...@enthought.com wrote: I just did a quick test across all supported EPD platforms: win-64: float96 No, float128 No win-32: float96 No, float128 No osx-64: float96 No,

Re: [Numpy-discussion] Casting rules changed in trunk?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 8, 2012 at 3:14 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Mar 7, 2012 at 4:08 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I noticed a casting change running the test suite on our image reader, nibabel: https://github.com/nipy/nibabel/blob

[Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, Am I right in thinking that float96 on windows 32 bit is a float64 padded to 96 bits? If so, is it useful? Has anyone got a windows64 box to check float128 ? Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:17 PM, David Cournapeau courn...@gmail.com wrote: On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, Am I right in thinking that float96 on windows 32 bit is a float64 padded to 96 bits? Yes  If so, is it useful? Yes

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:24 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Mar 15, 2012 at 10:17 PM, David Cournapeau courn...@gmail.com wrote: On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, Am I right in thinking that float96

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:33 PM, Val Kalatsky kalat...@gmail.com wrote: I just happened to have an xp64 VM running: My version of numpy (1.6.1) does not have float128 (see more below what I get in ipython session). If you need to test something else please let me know. Thanks a lot -

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:41 PM, Val Kalatsky kalat...@gmail.com wrote: I does look like a joke. Here is print np.finfo(np.longdouble) In [2]: np.__version__ Out[2]: '1.6.1' In [3]: np.flo np.float        np.float32      np.float_       np.floor np.float16      np.float64      

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 10:17 PM, Ilan Schnell ischn...@enthought.com wrote: I'm seeing the same thing on both (64 and 32-bit) Windows EPD test machines.  I guess Windows does not support 128 bit floats. Do you mean there is no float96 on windows 32 bit as I described at the beginning of

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 10:26 PM, Ilan Schnell ischn...@enthought.com wrote: To be more precise.  On both 32-bit and 64-bit Windows machines I don't see.float96 as well as np.float128 Do you have any idea why I am seeing float96 and you are not? I'm on XP with the current sourceforge

Re: [Numpy-discussion] Casting rules changed in trunk?

2012-03-08 Thread Matthew Brett
Hi, On Wed, Mar 7, 2012 at 4:08 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I noticed a casting change running the test suite on our image reader, nibabel: https://github.com/nipy/nibabel/blob/master/nibabel/tests/test_casting.py For this script: pre import numpy as np Adata

Re: [Numpy-discussion] More SPARC pain

2012-03-08 Thread Matthew Brett
Hi, On Tue, Mar 6, 2012 at 8:07 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I found this test caused a bus error on current trunk: pre import numpy as np from StringIO import StringIO as BytesIO from numpy.testing import assert_array_equal def test_2d_buf():    dtt

Re: [Numpy-discussion] Missing data again

2012-03-07 Thread Matthew Brett
Hi, On Wed, Mar 7, 2012 at 11:37 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Mar 7, 2012 at 12:26 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 7, 2012 at 5:17 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Mar 7, 2012 at 9:35 AM, Pierre Haessig

[Numpy-discussion] Casting rules changed in trunk?

2012-03-07 Thread Matthew Brett
Hi, I noticed a casting change running the test suite on our image reader, nibabel: https://github.com/nipy/nibabel/blob/master/nibabel/tests/test_casting.py For this script: pre import numpy as np Adata = np.zeros((2,), dtype=np.uint8) Bdata = np.zeros((2,), dtype=np.int16) Bzero =

[Numpy-discussion] More SPARC pain

2012-03-06 Thread Matthew Brett
Hi, I found this test caused a bus error on current trunk: pre import numpy as np from StringIO import StringIO as BytesIO from numpy.testing import assert_array_equal def test_2d_buf(): dtt = np.complex64 arr = np.arange(10, dtype=dtt) # 2D array arr2 = np.reshape(arr, (2,

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-05 Thread Matthew Brett
Hi, On Sun, Mar 4, 2012 at 11:53 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 4, 2012 at 10:34 PM, Matthew Brett matthew.br...@gmail.com wrote: snip $ export NPY_SEPARATE_COMPILATION=1 Thanks, that did it: 9194b3af704df71aa9b1ff2f53f169848d0f9dc7 is the first bad commit Let me

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-05 Thread Matthew Brett
Hi, On Mon, Mar 5, 2012 at 11:11 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Mar 4, 2012 at 11:53 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 4, 2012 at 10:34 PM, Matthew Brett matthew.br...@gmail.com wrote: snip $ export NPY_SEPARATE_COMPILATION=1 Thanks

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-05 Thread Matthew Brett
And simplifying: In [1]: import numpy as np In [2]: control = np.array([(1, 2, 3), (0, 5, 6)], dtype=[('f0', bool), ('f1', bool), ('f2', int)]) In [3]: control == control Out[3]: array([ True, True], dtype=bool) In [4]: from numpy import ma In [5]: control = ma.array([(1, 2, 3), (0, 5, 6)],

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-05 Thread Matthew Brett
Hi, On Mon, Mar 5, 2012 at 8:04 PM, Mark Wiebe mwwi...@gmail.com wrote: I've pushed a bugfix to github, can you confirm that the crash goes away on your test box? Thanks for tracking that down, the stack trace was very helpful. Since x86 machines don't have as strict alignment requirements,

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-04 Thread Matthew Brett
Hi, On Sat, Mar 3, 2012 at 12:07 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Mar 2, 2012 at 9:05 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Mar 2, 2012 at 4:36 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, Sorry that this report

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-04 Thread Matthew Brett
Hi, On Sun, Mar 4, 2012 at 11:41 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 4, 2012 at 11:27 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Mar 3, 2012 at 12:07 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Mar 2, 2012 at 9:05 PM, Charles R

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-04 Thread Matthew Brett
Hi, On Sun, Mar 4, 2012 at 8:32 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 4, 2012 at 10:08 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Mar 4, 2012 at 11:41 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 4, 2012 at 11:27 AM, Matthew Brett matthew.br

[Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-02 Thread Matthew Brett
Hi, Sorry that this report is not complete, I don't have full access to this box but, on a Debian squeeze machine running linux 2.6.32-5-sparc64-smp: nosetests ~/usr/local/lib/python2.6/site-packages/numpy/lib/tests/test_io.py:TestFromTxt.test_user_missing_values test_user_missing_values

Re: [Numpy-discussion] Bus error for Debian / SPARC on current trunk

2012-03-02 Thread Matthew Brett
Hi, On Fri, Mar 2, 2012 at 9:05 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Mar 2, 2012 at 4:36 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, Sorry that this report is not complete, I don't have full access to this box but, on a Debian squeeze machine running

Re: [Numpy-discussion] [Numpy] quadruple precision

2012-02-29 Thread Matthew Brett
Hi, On Wed, Feb 29, 2012 at 12:13 PM, Jonathan Rocher jroc...@enthought.com wrote: Thanks to your question, I discovered that there is a float128 dtype in numpy In[5]: np.__version__ Out[5]: '1.6.1' In[6]: np.float128? Type:   type Base Class: type 'type' String Form:type

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-29 Thread Matthew Brett
Hi, On Wed, Feb 29, 2012 at 1:46 AM, Travis Oliphant tra...@continuum.io wrote: We already use the NEP process for such decisions.   This discussion came from simply from the *idea* of writing such a NEP. Nothing has been decided.  Only opinions have been shared that might influence the

Re: [Numpy-discussion] Possible roadmap addendum: building better text file readers

2012-02-27 Thread Matthew Brett
Hi, On Mon, Feb 27, 2012 at 2:43 PM, Alan G Isaac alan.is...@gmail.com wrote: On 2/27/2012 2:28 PM, Pauli Virtanen wrote: ISO specifies comma to be used in international standards (ISO/IEC Directives, part 2 / 6.6.8.1):

Re: [Numpy-discussion] Possible roadmap addendum: building better text file readers

2012-02-27 Thread Matthew Brett
Hi, On Mon, Feb 27, 2012 at 2:58 PM, Pauli Virtanen p...@iki.fi wrote: Hi, 27.02.2012 20:43, Alan G Isaac kirjoitti: On 2/27/2012 2:28 PM, Pauli Virtanen wrote: ISO specifies comma to be used in international standards (ISO/IEC Directives, part 2 / 6.6.8.1):

Re: [Numpy-discussion] np.longlong casts to int

2012-02-23 Thread Matthew Brett
Hi, On Thu, Feb 23, 2012 at 4:23 AM, Francesc Alted franc...@continuum.io wrote: On Feb 23, 2012, at 6:06 AM, Francesc Alted wrote: On Feb 23, 2012, at 5:43 AM, Nathaniel Smith wrote: On Thu, Feb 23, 2012 at 11:40 AM, Francesc Alted franc...@continuum.io wrote: Exactly.  I'd update this to

Re: [Numpy-discussion] np.longlong casts to int

2012-02-23 Thread Matthew Brett
Hi, On Thu, Feb 23, 2012 at 10:11 AM, Pierre Haessig pierre.haes...@crans.org wrote: Le 23/02/2012 17:28, Charles R Harris a écrit : That's correct. They are both extended precision (80 bits), but aligned on 32bit/64bit boundaries respectively. Sun provides a true quad precision, also called

Re: [Numpy-discussion] np.longlong casts to int

2012-02-23 Thread Matthew Brett
Hi, On Thu, Feb 23, 2012 at 10:45 AM, Mark Wiebe mwwi...@gmail.com wrote: On Thu, Feb 23, 2012 at 10:42 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Feb 23, 2012 at 10:11 AM, Pierre Haessig pierre.haes...@crans.org wrote: Le 23/02/2012 17:28, Charles R Harris a écrit

Re: [Numpy-discussion] np.longlong casts to int

2012-02-23 Thread Matthew Brett
Hi, On Thu, Feb 23, 2012 at 2:56 PM, Pierre Haessig pierre.haes...@crans.org wrote: Le 23/02/2012 20:08, Mark Wiebe a écrit : +1, I think it's good for its name to correspond to the name in C/C++, so that when people search for information on it they will find the relevant information more

[Numpy-discussion] np.longlong casts to int

2012-02-22 Thread Matthew Brett
Hi, I was gaily using np.longlong for casting to the highest available float type when I noticed this: In [4]: np.array([2.1], dtype=np.longlong) Out[4]: array([2], dtype=int64) whereas: In [5]: np.array([2.1], dtype=np.float128) Out[5]: array([ 2.1], dtype=float128) This on OSX snow leopard

Re: [Numpy-discussion] np.longlong casts to int

2012-02-22 Thread Matthew Brett
2012/2/22 Stéfan van der Walt ste...@sun.ac.za: On Wed, Feb 22, 2012 at 2:47 PM, Matthew Brett matthew.br...@gmail.com wrote: In [4]: np.array([2.1], dtype=np.longlong) Out[4]: array([2], dtype=int64) Maybe just a typo: In [3]: np.array([2.1], dtype=np.longfloat) Out[3]: array([ 2.1

Re: [Numpy-discussion] How a transition to C++ could work

2012-02-19 Thread Matthew Brett
Hi, Thanks for this - it's very helpful. On Sat, Feb 18, 2012 at 11:18 PM, Mark Wiebe mwwi...@gmail.com wrote: The suggestion of transitioning the NumPy core code from C to C++ has sparked a vigorous debate, and I thought I'd start a new thread to give my perspective on some of the issues

Re: [Numpy-discussion] How a transition to C++ could work

2012-02-19 Thread Matthew Brett
Hi, On Sun, Feb 19, 2012 at 12:49 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Feb 19, 2012 at 2:32 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, Thanks for this - it's very helpful. On Sat, Feb 18, 2012 at 11:18 PM, Mark Wiebe mwwi...@gmail.com wrote: The suggestion

Re: [Numpy-discussion] Scipy Cython refactor

2012-02-19 Thread Matthew Brett
Hi, On Sun, Feb 19, 2012 at 7:35 AM, Pauli Virtanen p...@iki.fi wrote: 19.02.2012 05:38, Travis Oliphant kirjoitti: [clip] Sure.  This list actually deserves a long writeup about that. First, there wasn't a Cython-refactor of NumPy.   There was a Cython-refactor of SciPy.   I'm not sure of

Re: [Numpy-discussion] The end of numpy as we know it ?

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 9:06 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 02/18/2012 08:52 AM, Benjamin Root wrote: On Saturday, February 18, 2012, Sturla Molden wrote:     Den 18. feb. 2012 kl. 17:12 skrev Alan G Isaac alan.is...@gmail.com     javascript:;:      

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi. On Sat, Feb 18, 2012 at 12:18 AM, Christopher Jordan-Squire cjord...@uw.edu wrote: On Fri, Feb 17, 2012 at 11:31 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Feb 17, 2012 at 10:18 PM, Christopher Jordan-Squire cjord...@uw.edu wrote: On Fri, Feb 17, 2012 at 8:30 PM

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 12:35 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 12:21 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi. On Sat, Feb 18, 2012 at 12:18 AM, Christopher Jordan-Squire cjord...@uw.edu wrote: On Fri, Feb 17, 2012 at 11:31 PM

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 12:45 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 1:39 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 12:35 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 12

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 12:35 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 12:21 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi. On Sat, Feb 18, 2012 at 12:18 AM, Christopher Jordan

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 1:57 PM, Travis Oliphant tra...@continuum.io wrote: The C/C++ discussion is just getting started.  Everyone should keep in mind that this is not something that is going to happening quickly.   This will be a point of discussion throughout the year.    I'm not a huge

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 2:03 PM, Robert Kern robert.k...@gmail.com wrote: On Sat, Feb 18, 2012 at 21:51, Matthew Brett matthew.br...@gmail.com wrote: On Sat, Feb 18, 2012 at 1:40 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 2:17 PM, David Cournapeau

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 2:20 PM, Robert Kern robert.k...@gmail.com wrote: On Sat, Feb 18, 2012 at 22:06, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 2:03 PM, Robert Kern robert.k...@gmail.com wrote: On Sat, Feb 18, 2012 at 21:51, Matthew Brett matthew.br

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 2:51 PM, Robert Kern robert.k...@gmail.com wrote: On Sat, Feb 18, 2012 at 22:29, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 2:20 PM, Robert Kern robert.k...@gmail.com wrote: On Sat, Feb 18, 2012 at 22:06, Matthew Brett matthew.br

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 2:54 PM, Travis Oliphant tra...@continuum.io wrote: On Feb 18, 2012, at 4:03 PM, Matthew Brett wrote: Hi, On Sat, Feb 18, 2012 at 1:57 PM, Travis Oliphant tra...@continuum.io wrote: The C/C++ discussion is just getting started.  Everyone should keep in mind

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
On Sat, Feb 18, 2012 at 5:18 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 2:54 PM, Travis Oliphant tra...@continuum.io wrote: On Feb 18, 2012, at 4:03 PM, Matthew Brett wrote: Hi, On Sat, Feb 18, 2012 at 1:57 PM, Travis Oliphant tra...@continuum.io wrote

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 9:47 PM, Benjamin Root ben.r...@ou.edu wrote: On Saturday, February 18, 2012, Matthew Brett wrote: Hi, On Sat, Feb 18, 2012 at 8:38 PM, Travis Oliphant tra...@continuum.io wrote: We will need to see examples of what Mark is talking about and clarify some

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread Matthew Brett
Hi, On Sat, Feb 18, 2012 at 10:09 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 9:38 PM, Travis Oliphant tra...@continuum.io wrote: Sure.  This list actually deserves a long writeup about that.   First, there wasn't a Cython-refactor of NumPy.   There was a

Re: [Numpy-discussion] Numpy governance update

2012-02-17 Thread Matthew Brett
Hi Ben, On Thu, Feb 16, 2012 at 9:54 PM, Benjamin Root ben.r...@ou.edu wrote: On Thursday, February 16, 2012, John Hunter wrote: On Thu, Feb 16, 2012 at 7:26 PM, Alan G Isaac alan.is...@gmail.com wrote: On 2/16/2012 7:22 PM, Matthew Brett wrote: This has not been an encouraging

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread Matthew Brett
Hi, On Fri, Feb 17, 2012 at 4:58 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Feb 17, 2012 at 4:44 PM, David Cournapeau courn...@gmail.com wrote: I don't think c++ has any significant advantage over c for high performance libraries. I am not convinced by the number of

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread Matthew Brett
Hi, On Fri, Feb 17, 2012 at 6:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Feb 17, 2012 at 6:54 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Feb 17, 2012 at 4:58 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Feb 17, 2012 at 4:44

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