[Numpy-discussion] question on different win32 installers

2008-03-11 Thread mark
Hello - Anybody know the difference between numpy-1.0.4.win32-py2.4.exe and numpy-1.0.4.win32-p3-py2.4.exe Probably a simple question. Thanks for your help, Mark ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

Re: [Numpy-discussion] question on different win32 installers

2008-03-11 Thread Matthieu Brucher
p3 is not compiled with the SSE2 instructions (it stands for Pentium 3 and is needed for P3 and Athlon XP processors). Matthieu 2008/3/11, mark [EMAIL PROTECTED]: Hello - Anybody know the difference between numpy-1.0.4.win32-py2.4.exe and numpy-1.0.4.win32-p3-py2.4.exe Probably a simple

Re: [Numpy-discussion] [Pytables-users] On Numexpr and uint64 type

2008-03-11 Thread Francesc Altet
A Tuesday 11 March 2008, Charles R Harris escrigué: On Tue, Mar 11, 2008 at 4:00 AM, Francesc Altet [EMAIL PROTECTED] wrote: A Tuesday 11 March 2008, Francesc Altet escrigué: The thing that makes uint64 so special is that it is the largest integer (in current processors) that has a

[Numpy-discussion] Generically Creating Intermediate Data Compatible with Either ndarray or MasledArray Types

2008-03-11 Thread Alexander Michael
I have a function that I would like to work with both MaskedArray's and ndarray's. The only blocker for this particular function is the need to create some stand-in data that is appropriately either a MaskedArray or an ndarray. Currently I have: dummy = numpy.ones(data.shape, dtype=bool) where

Re: [Numpy-discussion] Generically Creating Intermediate Data Compatible with Either ndarray or MasledArray Types

2008-03-11 Thread Eric Firing
Alex, I don't know if it works for older versions of numpy, but with svn you can simply use the astype() method of the array. If the array is masked it seems to work correctly, although it does not update the fill_value to the default for the new type. Eric Alexander Michael wrote: I have

Re: [Numpy-discussion] Generically Creating Intermediate Data Compatible with Either ndarray or MasledArray Types

2008-03-11 Thread Alexander Michael
On Tue, Mar 11, 2008 at 3:42 PM, Eric Firing [EMAIL PROTECTED] wrote: I don't know if it works for older versions of numpy, but with svn you can simply use the astype() method of the array. If the array is masked it seems to work correctly, although it does not update the fill_value to

Re: [Numpy-discussion] Generically Creating Intermediate Data Compatible with Either ndarray or MasledArray Types

2008-03-11 Thread Robert Kern
On Tue, Mar 11, 2008 at 2:10 PM, Alexander Michael [EMAIL PROTECTED] wrote: I have a function that I would like to work with both MaskedArray's and ndarray's. The only blocker for this particular function is the need to create some stand-in data that is appropriately either a MaskedArray or

[Numpy-discussion] numpy.random.RandomState threadsafe?

2008-03-11 Thread Hoyt Koepke
This should be a really quick question. Is a RandomState object thread safe? I'm wanting to use a common RandomState object in a multithreaded program, and I need to know if it's necessary to protect it with a lock (which wouldn't be difficult). Thanks! --Hoyt

Re: [Numpy-discussion] numpy.random.RandomState threadsafe?

2008-03-11 Thread Robert Kern
On Tue, Mar 11, 2008 at 4:18 PM, Hoyt Koepke [EMAIL PROTECTED] wrote: This should be a really quick question. Is a RandomState object thread safe? I'm wanting to use a common RandomState object in a multithreaded program, and I need to know if it's necessary to protect it with a lock

[Numpy-discussion] Array assignment problem

2008-03-11 Thread Dinesh B Vadhia
Hello! I'm reading a text file with two numbers in str format on each line. The numbers are converted into integers. Each integer is then assigned to a 2-dimensional array ij (see code below). The problem is that neither of the array assignments work ie. both ij[index, 0] = r and ij[index,

Re: [Numpy-discussion] numpy.random.RandomState threadsafe?

2008-03-11 Thread Hoyt Koepke
Okay, thanks! I won't be using the multivariate_normal function in my code, so this should work fine. --Hoyt On Tue, Mar 11, 2008 at 3:00 PM, Robert Kern [EMAIL PROTECTED] wrote: On Tue, Mar 11, 2008 at 4:18 PM, Hoyt Koepke [EMAIL PROTECTED] wrote: This should be a really quick question.

Re: [Numpy-discussion] Array assignment problem

2008-03-11 Thread Anne Archibald
On 11/03/2008, Dinesh B Vadhia [EMAIL PROTECTED] wrote: Hello! I'm reading a text file with two numbers in str format on each line. The numbers are converted into integers. Each integer is then assigned to a 2-dimensional array ij (see code below). The problem is that neither of the array

Re: [Numpy-discussion] confusion about eigenvector

2008-03-11 Thread Peter Skomoroch
I found this in my del.icio.us links, sorry I forgot to mention it at the time: http://www.owlnet.rice.edu/~elec301/Projects99/faces/code.html All the best On Thu, Mar 6, 2008 at 10:39 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok..I coded everything again from scratch..looks like i was

Re: [Numpy-discussion] eigenvector and eigenface

2008-03-11 Thread Peter Skomoroch
see this page I found in my del.icio.us links, sorry I forgot to mention it at the time of the thread: http://www.owlnet.rice.edu/~elec301/Projects99/faces/code.html All the best On Mon, Mar 10, 2008 at 1:37 AM, royG [EMAIL PROTECTED] wrote: friends I am learning eigenfaces using numpy . i

[Numpy-discussion] RHEL 5 and CENTOS 5 rpms for blas/lapack/numpy/scipy available on ashigabou

2008-03-11 Thread David Cournapeau
Hi, Since some people had problems with RHEL/CENTOS, and since the opensuse build system does provide facilities to build rpms for RHEL and CENTOS for some time, I quickly updated the ashigabou repository to handle those distributions. I also added opensuse 10.3 and FC 8, but those did