[Numpy-discussion] PyDX - announcement

2006-10-22 Thread Simon Burton
relativistic space-time's. Documentation - http://gr.anu.edu.au/svn/people/sdburton/pydx/doc/user-guide.html http://gr.anu.edu.au/svn/people/sdburton/pydx/doc/api/index.html Subversion Repository - http://gr.anu.edu.au/svn/people/sdburton/pydx/ Simon Burton Oc

Re: [Numpy-discussion] 24bit arrays

2006-05-29 Thread Simon Burton
a useful representation for > audio data. Why not ? It's good for slicing and dicing, anything else and you should convert it to float before operating on it. Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61

[Numpy-discussion] when does numpy create temporaries ?

2006-05-29 Thread Simon Burton
py b[:-1]. How does numpy detect this, or does it always copy the source when assigning to a slice ? I've poked around the (numpy) code a bit and tried some benchmarks, but it's still not so clear to me. Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canber

[Numpy-discussion] numexpr: where function

2006-06-04 Thread Simon Burton
Is it possible to use the where function in numexpr ? I see some code there for it, but not sure how to use it. While I'm asking, it seems numexpr only does pointwise operations ATM, ie there is no .sum ? Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph.

Re: [Numpy-discussion] How to make exe from Python program with import NumPy line? Py2exe doesn't cooperato ! :)

2006-06-06 Thread Simon Burton
On Tue, 6 Jun 2006 10:19:31 +0200 "Neven Gorsic" <[EMAIL PROTECTED]> wrote: > > try pyInstaller. Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com __

Re: [Numpy-discussion] Build questions, atlas, lapack...

2006-06-08 Thread Simon Burton
> a=numpy.empty((1024,1024),'d') >>> b=numpy.empty((1024,1024),'d') >>> numpy.dot(a,b) [Switching to Thread -1210476000 (LWP 17557)] Breakpoint 2, 0xb7549db0 in cblas_dgemm () from /usr/lib/atlas/sse2/liblapack.so.3 (gdb) bingo. Simon.

Re: [Numpy-discussion] addressing a submatrix

2006-06-14 Thread Simon Burton
0, 0, 0]]) >>> a[1:3,1:3]=1 >>> a array([[0, 0, 0, 0], [0, 1, 1, 0], [0, 1, 1, 0], [0, 0, 0, 0]]) >>> -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com _

Re: [Numpy-discussion] syntax for obtaining rank of two columns?

2006-06-15 Thread Simon Burton
h.org/encyclopedia/CauchySchwarzInequality.html Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.

[Numpy-discussion] what happened to numarray type names ?

2006-06-20 Thread Simon Burton
>>> import numpy >>> numpy.__version__ '0.9.9.2631' >>> numpy.Int32 Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module' object has no attribute 'Int32' >>> This was working not so long

Re: [Numpy-discussion] Selecting columns of a matrix

2006-06-20 Thread Simon Burton
;> a[:,num.nonzero(v>0.5)] array([[0, 1, 3], [5, 6, 8]]) >>> Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com ___ Numpy-discussion mailing list Numpy-discussi

Re: [Numpy-discussion] Selecting columns of a matrix

2006-06-21 Thread Simon Burton
is blurring and head is spining as numpy goes through these growing pains. I hope it's over soon. Not because I have trouble keeping up (although i do) but it's my matlab/R/numarray entrenched co-workers who cannot be exposed to this unstable development (they will run screaming to

Re: [Numpy-discussion] Time for beta1 of NumPy 1.0

2006-06-30 Thread Simon Burton
On Fri, 30 Jun 2006 03:33:56 -0600 Travis Oliphant <[EMAIL PROTECTED]> wrote: > > One thing I've learned about Open Source development is that it can be > hard to figure out exactly what is bothering people and get good > critical feedback: people are more likely to just walk away with their

Re: [Numpy-discussion] Does zero based indexing drive anyone else crazy?

2006-07-03 Thread Simon Burton
On Sun, 2 Jul 2006 16:36:14 -0700 "Webb Sprague" <[EMAIL PROTECTED]> wrote: > > Given the long history of python and its ancestry in C (for which zero > based indexing made lots of sense since it dovetailed with thinking in > memory offsets in systems programming), there is probably nothing to >

Re: [Numpy-discussion] A C++ library and the new array interface: the best approach?

2006-07-04 Thread Simon Burton
On Mon, 03 Jul 2006 16:41:11 -0600 Fernando Perez <[EMAIL PROTECTED]> wrote: > > So I'd like to know if SWIG is really the best way out in this particular > case > (and any advice on taking advantage of the array interface via SWIG would be > appreciated), or if ctypes or pyrex could be used h

Re: [Numpy-discussion] Patch against Image.py in the PIL

2006-08-20 Thread Simon Burton
On Wed, 12 Jul 2006 16:42:55 -0600 Travis Oliphant <[EMAIL PROTECTED]> wrote: > > Attached is a patch that makes PIL Image objects both export and consume > the array interface. Cool ! I found that upon converting to/from a numpy array the image is upside-down. Simon. -

Re: [Numpy-discussion] Array pooling

2006-08-22 Thread Simon Burton
in advance. > Regards, > Carlos Sounds like fun. Simon. > > > > > > - > Preguntá. Respondé. Descubrí. > Todo lo que querías saber, y lo que ni imaginabas, > está en Yahoo! Respuestas (Beta). > Probalo ya! --

[Numpy-discussion] tensor dot ?

2006-08-24 Thread Simon Burton
y support summing over arbitrary dimensions, as in tensor calculus ? I could cook up something that uses transpose and dot, but it's reasonably tricky i think :) Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://a