Re: [Numpy-discussion] no ordinary Bessel functions?

2009-12-14 Thread Robert Kern
On Mon, Dec 14, 2009 at 22:30, Dr. Phillip M. Feldman wrote: > > When I issue the command > > np.lookfor('bessel') > > I get the following: > > Search results for 'bessel' > --- > numpy.i0 >    Modified Bessel function of the first kind, order 0. > numpy.kaiser >    Return

[Numpy-discussion] no ordinary Bessel functions?

2009-12-14 Thread Dr. Phillip M. Feldman
When I issue the command np.lookfor('bessel') I get the following: Search results for 'bessel' --- numpy.i0 Modified Bessel function of the first kind, order 0. numpy.kaiser Return the Kaiser window. numpy.random.vonmises Draw samples from a von Mises distrib

Re: [Numpy-discussion] Problem with set_fill_value for masked structured array

2009-12-14 Thread Pierre GM
On Dec 14, 2009, at 4:28 PM, Thomas Robitaille wrote: > Pierre GM-2 wrote: >> >> Well, that's a problem indeed, and I'd put that as a bug. >> However, you can use that syntax instead: > t.fill_value['a']=10 >> or set all the fields at once: > t.fill_value=(10,99) >> > > Thanks for yo

Re: [Numpy-discussion] Problem with set_fill_value for masked structured array

2009-12-14 Thread Thomas Robitaille
Pierre GM-2 wrote: > > Well, that's a problem indeed, and I'd put that as a bug. > However, you can use that syntax instead: t.fill_value['a']=10 > or set all the fields at once: t.fill_value=(10,99) > Thanks for your reply - should I submit a bug report on the numpy trac site? T

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Charles R Harris
On Mon, Dec 14, 2009 at 10:27 AM, Jasper van de Gronde < th.v.d.gro...@hccnet.nl> wrote: > Bruce Southey wrote: > >> So far this is the fastest code I've got: > >> > >> import numpy as np > >> > >> nmax = 100 > >> > >> def mi

[Numpy-discussion] ANN: job opening at Tradelink

2009-12-14 Thread John Hunter
We are looking to hire a quantitative researcher to help research and develop trading ideas, and to develop and support infrastructure to put these trading strategies into production. We are looking for someone who is bright and curious with a quantitative background and a strong interest in writi

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread josef . pktd
On Mon, Dec 14, 2009 at 12:51 PM, Francesc Alted wrote: > A Monday 14 December 2009 18:20:32 Jasper van de Gronde escrigué: >> Francesc Alted wrote: >> > A Monday 14 December 2009 17:09:13 Francesc Alted escrigué: >> >> The things seems to be worst than 1.6x times slower for numpy, as matlab >> >>

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Francesc Alted
A Monday 14 December 2009 18:20:32 Jasper van de Gronde escrigué: > Francesc Alted wrote: > > A Monday 14 December 2009 17:09:13 Francesc Alted escrigué: > >> The things seems to be worst than 1.6x times slower for numpy, as matlab > >> orders arrays by column, while numpy order is by row. So, if

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Jasper van de Gronde
Bruce Southey wrote: >> So far this is the fastest code I've got: >> >> import numpy as np >> >> nmax = 100 >> >> def minover(Xi,S): >> P,N = Xi.shape >> SXi = Xi.copy() >> for i in xrange(0,P): >>

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Jasper van de Gronde
Francesc Alted wrote: > A Monday 14 December 2009 17:09:13 Francesc Alted escrigué: >> The things seems to be worst than 1.6x times slower for numpy, as matlab >> orders arrays by column, while numpy order is by row. So, if we want to >> compare pears with pears: >> >> For Python 600x200: >>Ad

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Francesc Alted
A Monday 14 December 2009 17:09:13 Francesc Alted escrigué: > The things seems to be worst than 1.6x times slower for numpy, as matlab > orders arrays by column, while numpy order is by row. So, if we want to > compare pears with pears: > > For Python 600x200: >Add a row: 0.113243 (1.132425e-

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Francesc Alted
A Saturday 12 December 2009 12:59:16 Jasper van de Gronde escrigué: > Francesc Alted wrote: > > ... > > Yeah, I think taking slices here is taking quite a lot of time: > > > > In [58]: timeit E + Xi2[P/2,:] > > 10 loops, best of 3: 3.95 µs per loop > > > > In [59]: timeit E + Xi2[P/2] > > 1

Re: [Numpy-discussion] Slicing slower than matrix multiplication?

2009-12-14 Thread Bruce Southey
On 12/13/2009 05:13 AM, Jasper van de Gronde wrote: > Bruce Southey wrote: > >> Really I would suggest asking the list for the real problem because it >> is often amazing what solutions have been given. >> > So far this is the fastest code I've got: > -

Re: [Numpy-discussion] Import error in builds of 7726

2009-12-14 Thread Chris
David Cournapeau gmail.com> writes: > > Could you give us the generated config.h (somewhere in > build/src.*/numpy/core/), just in case ? > Here it is: http://files.me.com/fonnesbeck/d9eyxi Thanks again. cf ___ NumPy-Discussion mailing list Num

Re: [Numpy-discussion] Does Numpy support CGI-scripting?`

2009-12-14 Thread David Warde-Farley
On 14-Dec-09, at 2:31 AM, yogesh karpate wrote: > Does Numpy Support CGI scripting? DO scipy and matplotlib also > support? I'm not sure what you're asking exactly. If the question is "can you create CGI scripts that use NumPy/SciPy/ matplotlib" then the answer is yes. You just need to look u