Re: [Numpy-discussion] organizational question

2007-04-01 Thread Travis Vaught
I was just about to respond that _substantial_ support by a non- profit best describes Travis Oliphant's many contributions through BYU. I see now that BYU/SciPy/NumPy has been nominated ... excellent! It might be appropriate for people from various constituencies to comment...

Re: [Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Charles R Harris
On 4/1/07, Christopher Hanley [EMAIL PROTECTED] wrote: The following test fails on a Solaris 8 system: == FAIL: check_basic (numpy.core.tests.test_multiarray.test_clip)

Re: [Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Christopher Hanley
Sun hardware is big endian. To be specific, this test was done on a Sun Ultra 10. I don't have access to a PPC right now. I can check tomorrow once I am in the office. Chris Hmm, Sun hardware is big endian, no? I wonder what happens on PPC? I don't see any problems here on Athlon64.

Re: [Numpy-discussion] Release of NumPy 1.0.2 for Monday

2007-04-01 Thread Francesc Altet
El ds 31 de 03 del 2007 a les 21:54 -0600, en/na Travis Oliphant va escriure: I'm going to be tagging the tree for the NumPy 1.0.2 release tomorrow evening in preparation for the release on Monday. I've closed several bugs. Are there any show-stoppers remaining to be fixed? Mmm... PyTables

[Numpy-discussion] Violation of array scalar multiplication rules?

2007-04-01 Thread Charles R Harris
Just asking. In [35]: type(array(1.0)*2) Out[35]: type 'numpy.float64' In [36]: type(array(1.0)) Out[36]: type 'numpy.ndarray' Chuck ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

Re: [Numpy-discussion] Violation of array scalar multiplication rules?

2007-04-01 Thread Travis Oliphant
Charles R Harris wrote: Just asking. In [35]: type(array(1.0)*2) Out[35]: type 'numpy.float64' In [36]: type(array(1.0)) Out[36]: type 'numpy.ndarray' No, in ufuncs 0-d arrays are considered scalars, as are Python scalars and array scalars. Also, ufuncs that result in scalars return

Re: [Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Stefan van der Walt
Hi Chris Would you please run the following commands and show their output? import sys print sys.byteorder import numpy as N print N.array([1,2,3],N.dtype(N.int16).newbyteorder('')).dtype.byteorder print N.array([1,2,3],N.dtype(N.int16).newbyteorder('')).dtype.byteorder print

Re: [Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Christopher Hanley
Hi Stefan, This is what I get: import sys print sys.byteorder big import numpy as N print N.array([1,2,3],N.dtype(N.int16).newbyteorder('')).dtype.byteorder print N.array([1,2,3],N.dtype(N.int16).newbyteorder('')).dtype.byteorder print

Re: [Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Ted Horst
I get the same failure on ppc. Here is the result of your commands: big = On Apr 1, 2007, at 16:22, Stefan van der Walt wrote: Hi Chris Would you please run the following commands and show their output? import sys print sys.byteorder import numpy as N print

[Numpy-discussion] Assembling an array from parts

2007-04-01 Thread Bill Baxter
What's the best way of assembling a big matrix from parts? I'm using lagrange multipliers to enforce constraints and this kind of matrix comes up a lot: [[ K, G], [ G.T , 0]] In matlab you can use the syntax [K G; G' zeros(nc)] In numpy I'm using vstack([ hstack([ K,G ]), hstack([

Re: [Numpy-discussion] Assembling an array from parts

2007-04-01 Thread Kevin Jacobs [EMAIL PROTECTED]
I had to poke around before finding it too: bmat( [[K,G],[G.T, zeros(nc)]] ) On 4/1/07, Bill Baxter [EMAIL PROTECTED] wrote: What's the best way of assembling a big matrix from parts? I'm using lagrange multipliers to enforce constraints and this kind of matrix comes up a lot: [[ K, G], [

[Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

2007-04-01 Thread Christopher Hanley
The following test fails on a Solaris 8 system: == FAIL: check_basic (numpy.core.tests.test_multiarray.test_clip) -- Traceback (most recent call last): File