[Numpy-discussion] building numpy locally but get error: undefined symbol: zgesdd_

2008-09-15 Thread Francis Drossaert
Hi everybody, I am trying to install python2.5/scipy/numpy/sympy/matplotlib locally, because of various reasons. I am not root. At home I am using Ubuntu and I am root and everything works as it should. So far I managed to make python2.5, sympy and ipython to run fine on my computer at work, but

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-15 Thread David Cournapeau
Stéfan van der Walt wrote: > > It should work, as long as you include the necessary packages in your > LaTeX preamble, which is included in the Sphinx project config file. > Could you give a bit more info on what exactly breaks? I managed to get further, but I don't get what I want. A minimal late

[Numpy-discussion] Help speeding up element-wise operations for video processing

2008-09-15 Thread brendan simons
Hi everyone I have a quick problem. I'm trying to write a routine to "demosaic" video data extremely quickly. I thought my algorithm would make good use of my processor's vector math units, but it isn't fast enough (it currently takes about 300ms for each 8 megapixel frame) Maybe you can hel

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread David Cournapeau
Robert Kern wrote: > On Mon, Sep 15, 2008 at 21:43, David Cournapeau > <[EMAIL PROTECTED]> wrote: > >> You can do it with kcachegrind, which is arguably more powerful, but it >> is a bit a pain to set up. >> >> http://jcalderone.livejournal.com/21124.html >> > > No, that's with cProfile, wh

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread Robert Kern
On Mon, Sep 15, 2008 at 21:43, David Cournapeau <[EMAIL PROTECTED]> wrote: > Michael McNeil Forbes wrote: >> The hotshot profiler used to do this, but I don't think it is really >> supported anymore... I have not used it in a while, but agree that a >> line-by-line profiler can be very nice. > > Y

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread David Cournapeau
Michael McNeil Forbes wrote: > The hotshot profiler used to do this, but I don't think it is really > supported anymore... I have not used it in a while, but agree that a > line-by-line profiler can be very nice. > You can do it with kcachegrind, which is arguably more powerful, but it is a b

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Nathan Bell
On Sat, Sep 13, 2008 at 7:00 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > > Please test this release ASAP and let us know if there are any > problems. If there are no show stoppers, this will become the > 1.2.0 release. > Looks OK on Ubuntu 8.04 x86_64. Thanks for your continued work! $ pyth

[Numpy-discussion] loadtxt improvement

2008-09-15 Thread Neil
I'd like to add a way for loadtxt to infer a dtype from the data it reads in. Record arrays/structured arrays are the best thing ever, and ideally I'd like to read in a csv-style file into a structured array in one easy step. loadtxt almost does this - if I know the number and type of fields befo

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread Michael McNeil Forbes
The hotshot profiler used to do this, but I don't think it is really supported anymore... I have not used it in a while, but agree that a line-by-line profiler can be very nice. Michael. On Sep 15, 2008, at 6:27 AM, Robin wrote: > Hi, > > I am using the prun feature of Ipython which is very

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Simon Palmer
Thanks very much everyone, this has been very helpful. I have been doing some timing of my own and the order of magnitude difference that numpy provides wins. I'm learning python as I go so some of my questions come from a lack of language skillls, but it is good to get to know the numpy dialect

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread joep
all ok on python 2.4 WindowsXP sse2 scipy test results are the same as with numpy 1.1.0 C:\Josef\work-oth\sort\pypi>python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> num

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Jarrod Millman
On Mon, Sep 15, 2008 at 11:10 AM, Mark Miller <[EMAIL PROTECTED]> wrote: > OK..thanks. That did the trick. All clear now, save for 3 known failures. Excellent. Thanks for testing this. -- Jarrod Millman Computational Infrastructure for Research Labs 10 Giannini Hall, UC Berkeley phone: 510.64

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Mark Miller
OK..thanks. That did the trick. All clear now, save for 3 known failures. Again, thanks for letting me know about this. -Mark On Mon, Sep 15, 2008 at 11:03 AM, Jarrod Millman <[EMAIL PROTECTED]>wrote: > On Mon, Sep 15, 2008 at 10:49 AM, Mark Miller <[EMAIL PROTECTED]> > wrote: > > Warning, er

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Jarrod Millman
On Mon, Sep 15, 2008 at 10:49 AM, Mark Miller <[EMAIL PROTECTED]> wrote: > Warning, errors, and failures here on XP Pro (numpy installed with the > python 2.5 superpack). > > Just passing it along, and apologies if these have already been caught. Thanks for testing this. It looks like you have so

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Mark Miller
Warning, errors, and failures here on XP Pro (numpy installed with the python 2.5 superpack). Just passing it along, and apologies if these have already been caught. >>> import numpy >>> numpy.__version__ '1.2.0rc2' >>> numpy.test() Running unit tests for numpy NumPy version 1.2.0rc2 NumPy is ins

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Alan G Isaac
SimonPalmer wrote: > what is the overhead associated with importing a new module (whichever > includes izip)? > I am wondering whether it is actually more efficient for me to put my > aesthetics aside and stick with my ugly but efficient loop If you do not want to use izip, you can still avoid

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Alan G Isaac
Python 2.5 Superpack looks fine here. Alan ### Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy

Re: [Numpy-discussion] 1.2.0rc2 tagged! --PLEASE TEST--

2008-09-15 Thread Jarrod Millman
Hey, I would like to release 1.2.0 final soon, but I need to know whether anyone is having any problems with the rc2 binaries. Please test them and let me know whether or not you have any problems with them. Thanks, Jarrod On Sat, Sep 13, 2008 at 4:00 PM, Jarrod Millman <[EMAIL PROTECTED]> wrot

Re: [Numpy-discussion] numpy.linalg.eig

2008-09-15 Thread Robert Kern
On Mon, Sep 15, 2008 at 09:50, Tommy Carstensen <[EMAIL PROTECTED]> wrote: > To the numpy mailing list, > > Previously I used python2.3 and the module LinearAlgebra for matrix > diagonalization. I recently upgraded to python2.5 and I am now using > numpy.linalg.eig for matrix diagonalization. This

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread Robin
On Mon, Sep 15, 2008 at 5:13 PM, Arnar Flatberg <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 5:18 PM, Robert Kern <[EMAIL PROTECTED]> wrote: >> >> I do have some Cython code that >> does this. It needs a little bit more work, though. I'll try to push >> it out soonish. > > That would make m

Re: [Numpy-discussion] trouble with locale in combination with numpy and pylab

2008-09-15 Thread Stéfan van der Walt
2008/9/15 Achim Gaedke <[EMAIL PROTECTED]>: > Hi there! > > Consider this python program (saved as locale_trouble.py): This has already been filed as http://projects.scipy.org/scipy/numpy/ticket/902 Please add any additional info to that ticket. Thanks! Stéfan __

[Numpy-discussion] trouble with locale in combination with numpy and pylab

2008-09-15 Thread Achim Gaedke
Hi there! Consider this python program (saved as locale_trouble.py): import numpy a=numpy.float32(1.2) print a, float(a) import gtk print a, float(a) everything is fine, if you call this program as follows: LANG="C" python locale_trouble.py 1.2 1.2004768 1.2 1.2004768 LANG="de_DE" pyth

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread Arnar Flatberg
On Mon, Sep 15, 2008 at 5:18 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > I do have some Cython code that > does this. It needs a little bit more work, though. I'll try to push > it out soonish. > That would make me an extremely happy user, I've been looking for this for years! I can't imagine I'

[Numpy-discussion] numpy.linalg.eig

2008-09-15 Thread Tommy Carstensen
To the numpy mailing list, Previously I used python2.3 and the module LinearAlgebra for matrix diagonalization. I recently upgraded to python2.5 and I am now using numpy.linalg.eig for matrix diagonalization. This is approximately 3 times slower than previously. I am using the same work station as

Re: [Numpy-discussion] profiling line by line

2008-09-15 Thread Robert Kern
On Mon, Sep 15, 2008 at 05:27, Robin <[EMAIL PROTECTED]> wrote: > Hi, > > I am using the prun feature of Ipython which is very helpful. > > I was wondering though if theres anything for Python that would allow > line-by-line profiling (ie a time for each line of code) like the > MATLAB profiler? I

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Francesc Alted
A Monday 15 September 2008, SimonPalmer escrigué: > what is the overhead associated with importing a new module > (whichever includes izip)? > > I am wondering whether it is actually more efficient for me to put my > aesthetics aside and stick with my ugly but efficient loop If the loop is importa

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread Stéfan van der Walt
2008/9/15 Gael Varoquaux <[EMAIL PROTECTED]>: >> I agree. But that means that we can only include it in 1.3 (which is >> currently being developed on trunk, IIRC?). > > I'd prefer not seeing any non-backwards-compatible API change before 2.0. > I think we would be breaking the contract that we hav

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Gael Varoquaux
On Mon, Sep 15, 2008 at 07:14:04AM -0700, SimonPalmer wrote: > what is the overhead associated with importing a new module (whichever > includes izip)? Modules are cached, so the cost of importing a module, when it has already been loaded, is simply the cost of checking if it has been loaded, and

Re: [Numpy-discussion] isnan and co: cleaning up

2008-09-15 Thread Andrew Dalke
On Sep 15, 2008, at 5:45 AM, David Cournapeau wrote: > It is not an error for the build, but an error at the configuration > stage. To get some informations about the platform, we do compile some > code snippets, and do our configuration depending on whether they fail > or not. We could log those i

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread Gael Varoquaux
On Mon, Sep 15, 2008 at 12:28:42PM +0200, Stéfan van der Walt wrote: > 2008/9/15 David M. Kaplan <[EMAIL PROTECTED]>: > > This ability to mesh non-numerical arrays has lots of uses and I think > > the change to a list will be transparent for most users who never use > > the packed array. Also, thi

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread SimonPalmer
what is the overhead associated with importing a new module (whichever includes izip)? I am wondering whether it is actually more efficient for me to put my aesthetics aside and stick with my ugly but efficient loop On Sep 15, 2:32 pm, Francesc Alted <[EMAIL PROTECTED]> wrote: > A Monday 15 Septe

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Francesc Alted
A Monday 15 September 2008, Alan G Isaac escrigué: > On 9/15/2008 6:25 AM Francesc Alted apparently wrote: > > max_idx = min(len(A), len(B)) > > (A[:max_idx] * B[:max_idx]).sum() > > > > which does not require a copy becuase the [:max_idx] operator > > returns just a view of the arrays. > > But it

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread Alan G Isaac
On 9/15/2008 6:25 AM Francesc Alted apparently wrote: > max_idx = min(len(A), len(B)) > (A[:max_idx] * B[:max_idx]).sum() > > which does not require a copy becuase the [:max_idx] operator returns > just a view of the arrays. But it still requires creating a new array, so perhaps use of ``dot`` a

Re: [Numpy-discussion] product of arrays of different lengths

2008-09-15 Thread SimonPalmer
http://www.amazon.com/Eliade-Guide-World-Religions/dp/0060621451/ref=sr_1_1?ie=UTF8&s=books&qid=1221285193&sr=8-1 2008/9/13 Vasile Bouleanu <[EMAIL PROTECTED]> > Stie cineva despre existenta unei traduceri in engleza a " > Dictionarului Religiilor " cu autorii Eliade /Culianu ? > >Vasile

Re: [Numpy-discussion] funny matrix product calculation

2008-09-15 Thread Robin
Success in business appears to be elusive for many people. So what is it that makes people successful? http://www.bestentrepreneur.net/2008/02/want-to-know-billionaires-formula.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: [Numpy-discussion] math directive, rest files and sphinx

2008-09-15 Thread Stéfan van der Walt
Promotion Market – this is an incredible income opportunity never seen before. - No special skills required - No Up Front Investment Required - Work from home - We build you a team first before you decide to start the business - We provide two websites for you to operate which are two internet ma

[Numpy-discussion] math directive, rest files and sphinx

2008-09-15 Thread David Cournapeau
Nice show of Nats panties! http://freerealvideo.net/video.html?video=1612 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Forward Observer 2" group. To post to this group, send email to Forward-Observer-2@googlegroup

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread David M. Kaplan
2008/6/16 ricardo soares <[EMAIL PROTECTED]> > Get a $50 FREE Gift today and take advantage of our best limited time > offer! > After installing the software, simply register, make your first > deposit of at least $10, and we will add $50 in hassle-free bonus > chips to your player account. > > N