[Numpy-discussion] numpy installation problem

2007-08-05 Thread kingshuk ghosh
Hi, I downloaded numpy1.0.3-2.tar and unzipped and untared. However somehow new numpy does not work. It invokes the old numpy 0.9.6 when i import numpy from python and type in numpy.version.version . I tried to change path and once I do that and when I do import numpy it says "running from source d

Re: [Numpy-discussion] How to implement a 'pivot table?'

2007-08-05 Thread Vincent
Generating these types of summary statistics is very common in SAS. In SAS you would set up a sequence of procedures. First sort by the variables of interest and then calculate the metrics of interest by the combination of values. In numpy/scipy this might be something like: 1. Sort by date and re

[Numpy-discussion] multinomial error?

2007-08-05 Thread adam . powell
Hi, I appear to be having a problem with the random.multinomial function. For some reason if i attempt to loop over a large number of single-trial multinomial picks then the function begins to ignore some non-zero entries in my 1-D array of multinomial probabilities... Is seems that there is no up

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-05 Thread Steven G. Johnson
On Aug 4, 3:24 am, "Anne Archibald" <[EMAIL PROTECTED]> wrote: > It seems to me two things are needed: > > * A mechanism for requesting numpy arrays with buffers aligned to an > arbitrary power-of-two size (basically just using posix_memalign or > some horrible hack on platforms that don't have it

Re: [Numpy-discussion] multinomial error?

2007-08-05 Thread Alan G Isaac
On Fri, 03 Aug 2007, [EMAIL PROTECTED] apparently wrote: > I appear to be having a problem with the random.multinomial function. For > some > reason if i attempt to loop over a large number of single-trial multinomial > picks then the function begins to ignore some non-zero entries in my 1-D >

Re: [Numpy-discussion] fourier with single precision

2007-08-05 Thread Lars Friedrich
Hello, thanks for your comments. If I got you right, I should look for a FFT-code that uses SSE (what does this actually stand for?), which means that it vectorizes 32bit-single-operations into larger chunks that make efficient use of recent CPUs. You mentioned FFTW and MKL. Is this www.fftw.o