Re: [Numpy-discussion] when does numpy create temporaries ?

2006-05-31 Thread Arnd Baecker
On Tue, 30 May 2006, Simon Burton wrote: > Consider these two operations: > > >>> a=numpy.empty( 1024 ) > >>> b=numpy.empty( 1024 ) > >>> a[1:] = b[:-1] > >>> a[1:] = a[:-1] > >>> > > It seems that in the second operation > we need to copy the view a[:-1] > but in the first operation we don't need

Re: [Numpy-discussion] .debs of numpy-0.9.8 available for Ubuntu Dapper

2006-06-08 Thread Arnd Baecker
Hi Andrew, first thanks a lot for your effort - I am certain it will be very much appreciated! On Thu, 8 Jun 2006, Andrew Straw wrote: > I've put together some .debs for numpy-0.9.8. There are binaries > compiled for amd64 and i386 architectures of Ubuntu Dapper, and I > suspect these will build

Re: [Numpy-discussion] .debs of numpy-0.9.8 available for Ubuntu Dapper

2006-06-08 Thread Arnd Baecker
On Thu, 8 Jun 2006, Andrew Straw wrote: > Arnd Baecker wrote: > > What worries me is > > a) the Build conflicts: atlas3-base > > > I hoped to investigate further and post afterwards, but my preliminary > findings that led to this decision are: > > 1) building w

Re: [Numpy-discussion] numpy segv on OpenBSD

2006-06-15 Thread Arnd Baecker
On Thu, 15 Jun 2006, Damien Miller wrote: > David M. Cooke wrote: > > Can you update to the latest svn? We may have fixed it already: valgrind is > > showing up nothing for me. > > Ok, but dumb question: how do I check out the SVN trunk? Sourceforge > lists details for CVS only... (unless I'm miss

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Arnd Baecker
Hi, On Wed, 28 Jun 2006, Jon Wright wrote: > > >>This strikes me as a little bit odd. Why not just provide the > >>best-performing > >>function to both SciPy and NumPy? Would NumPy be more difficult to install > >>if the SciPy algorithm for inv() was incorporated? > >> > >> > Having spent a few

[Numpy-discussion] logspace behaviour/documentation

2006-06-29 Thread Arnd Baecker
Hi, I am wondering a bit about the the behaviour of logspace: Definition: numpy.logspace(start, stop, num=50, endpoint=True, base=10.0) Reading this I would assume that numpy.logspace(10**-12, 0.0, 100) gives 100 values, from start=10**-12 to stop=0.0, equispaced on a logarithmic scale. But t

Re: [Numpy-discussion] Speed degression?

2006-07-06 Thread Arnd Baecker
Hi Travis, On Thu, 6 Jul 2006, Travis Oliphant wrote: > Steffen Loeck wrote: > > Hi all, > > > > i made some speed tests using the sin-function and the %-operation to > > compare > > Numeric, numpy 0.9.8 and numpy 0.9.9.2732. > > As result the latest numpy version seems to be very slow in compar

Re: [Numpy-discussion] Speed degression?

2006-07-06 Thread Arnd Baecker
On Thu, 6 Jul 2006, Travis Oliphant wrote: > Arnd Baecker wrote: > > Hi > >>> i made some speed tests using the sin-function and the %-operation to > >>> compare > >>> Numeric, numpy 0.9.8 and numpy 0.9.9.2732. > >>> As result the la

Re: [Numpy-discussion] logspace behaviour/documentation

2006-07-09 Thread Arnd Baecker
Hi Alan, sorry, for answering so late - your message slipped through ... On Fri, 30 Jun 2006, Alan Isaac wrote: > On Fri, 30 Jun 2006, T) Arnd Baecker wrote: > > I am wondering a bit about the the behaviour of logspace: > > http://www.mathworks.com/access/helpdesk/help/techdoc/re

Re: [Numpy-discussion] Profiling line-by-line

2006-07-20 Thread Arnd Baecker
On Wed, 19 Jul 2006, David Grant wrote: > Is there any way to do line-by-line profiling in Python? The profiling > results can tell me how much time is spent in all functions, but within a > given function I can't get any idea of how much time was spent on each line. > For example, in the exampl