Re: [Numpy-discussion] Test survey that I have been putting together

2012-02-24 Thread Alan G Isaac
On 2/23/2012 7:20 PM, Travis Oliphant wrote: > https://www.surveymonkey.com/s/numpy_list_survey > After you complete the survey, I would really appreciate any feedback on > questions that could be improved, removed, or added. I felt the survey was targeting business users rather than academic u

[Numpy-discussion] Quantitative Researcher (Chicago, IL)

2012-02-24 Thread Denise Thornton
Quantitative Researcher (Chicago, IL) Job Description TradeLink Securities is currently hiring a Quantitative Researcher to join our team. We are looking for a quantitative researcher to help develop and test investment and trading strategies. The ideal candidate will have experience analyzing,

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

2012-02-24 Thread Robert Pyle
On Feb 24, 2012, at 7:43 AM, Pierre Haessig wrote: > Hi, > Le 24/02/2012 01:00, Matthew Brett a écrit : >> Right - no proposal to change float64 because it's not ambiguous - it >> is both binary64 IEEE floating point format and 64 bit width. > All right ! Focusing the renaming only on those "exte

[Numpy-discussion] distributing pre-compiled f2py extensions on OSX

2012-02-24 Thread Mark Bakker
Two short questions: 1. When I distribute pre-compiled f2py extensions for OSX, it seems that the users need gfortran installed, else it cannot find libgfortran.3.dylib. Is there a way to link that file with the extension? 2. Should extensions compiled on Snowleopard work on Lion? Thanks, Mark

Re: [Numpy-discussion] mkl usage

2012-02-24 Thread Gregor Thalhammer
Am 24.2.2012 um 13:54 schrieb Neal Becker: > Francesc Alted wrote: > >> On Feb 23, 2012, at 2:19 PM, Neal Becker wrote: >> >>> Pauli Virtanen wrote: >>> 23.02.2012 20:44, Francesc Alted kirjoitti: > On Feb 23, 2012, at 1:33 PM, Neal Becker wrote: > >> Is mkl only used for lin

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

2012-02-24 Thread Erin Sheldon
Excerpts from Travis Oliphant's message of Thu Feb 23 15:08:52 -0500 2012: > This is actually on my short-list as well --- it just didn't make it to the > list. > > In fact, we have someone starting work on it this week. It is his > first project so it will take him a little time to get up to s

Re: [Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread Pierre Haessig
Le 24/02/2012 14:49, Bob Dowling a écrit : > Thank you all (and especially the gentleman who spotted I was rotating > in the wrong direction). No I hadn't ! I had just mentioned the transpose issue for writing "numpy.dot(data,rotation)". So in the end the two sign flips cancel each other and Nicol

Re: [Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread Bob Dowling
numpy.dot and numpy.tensordot do exactly what I need. Thank you all (and especially the gentleman who spotted I was rotating in the wrong direction). ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/nu

Re: [Numpy-discussion] Test survey that I have been putting together

2012-02-24 Thread Hans-Martin v. Gaudecker
> From: Travis Oliphant > After you complete the survey, I would really appreciate any feedback on > questions that could be improved, removed, or added. Hi Travis, I didn't really get whom you mean by "they" in: 5. What do they want you to be using (technologies, languages, libraries)?

Re: [Numpy-discussion] Test survey that I have been putting together

2012-02-24 Thread Pierre Haessig
Hi, Great idea ! What's the plan to spread the word about this survey ? Is it about forwarding the link to friends and colleagues ? Le 24/02/2012 01:20, Travis Oliphant a écrit : > After you complete the survey, I would really appreciate any feedback on > questions that could be improved, remove

Re: [Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread gary ruben
I haven't checked correctness, but how about np.tensordot(rotation, data, axes=1) Gary R On 24 February 2012 23:11, Bob Dowling wrote: > Conceptually, I have a 2-d grid of 2-d vectors.  I am representing this > as an ndarray of shape (2,M,N).  I want to apply a 2x2 matrix > individually to each

Re: [Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread Pierre Haessig
Hi, Le 24/02/2012 13:55, Nicolas Rougier a écrit : > You should use a (M,N,2) array to store your vectors: > [...] > [...] > numpy.dot(data,rotation) looking at how numpy.dot generalizes the matrix product* to N-dim arrays, I came to the same conclusion. I just suspect that the 'rotation' array sh

Re: [Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread Nicolas Rougier
You should use a (M,N,2) array to store your vectors: import math import numpy import numpy.random # Rotation angle theta = math.pi/6.0 # Grid shape M = 10 N = 10 # Establish the rotation matrix c = math.cos(theta) s = math.sin(theta) rotation = numpy.array([[c, s],

Re: [Numpy-discussion] mkl usage

2012-02-24 Thread Neal Becker
Francesc Alted wrote: > On Feb 23, 2012, at 2:19 PM, Neal Becker wrote: > >> Pauli Virtanen wrote: >> >>> 23.02.2012 20:44, Francesc Alted kirjoitti: On Feb 23, 2012, at 1:33 PM, Neal Becker wrote: > Is mkl only used for linear algebra? Will it speed up e.g., elementwise > tr

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

2012-02-24 Thread Pierre Haessig
Hi, Le 24/02/2012 01:00, Matthew Brett a écrit : > Right - no proposal to change float64 because it's not ambiguous - it > is both binary64 IEEE floating point format and 64 bit width. All right ! Focusing the renaming only on those "extended precision" float types makes sense. > The confusion here

[Numpy-discussion] Matrices and arrays of vectors

2012-02-24 Thread Bob Dowling
Conceptually, I have a 2-d grid of 2-d vectors. I am representing this as an ndarray of shape (2,M,N). I want to apply a 2x2 matrix individually to each vector in the grid. However, I can't work out the appropriate syntax for getting the matrix multiplication to broadcast over the grid. All