[Numpy-discussion] Advanced indexing advice?

2009-06-18 Thread Cristi Constantin
Good day. I have a question about advanced indexing. I have 2 matrices : a=array([[ 0,  1,  2,  3,  4,  5],         [ 6,  7,  8,  9, 10, 11], [12, 13, 14, 15, 16, 17], [18, 19, 20, 21, 22, 23]]) b=array([[1, 0, 1], [0, 2, 0], [0, 0, 3]]) I want to put

Re: [Numpy-discussion] Advanced indexing advice?

2009-06-18 Thread Stéfan van der Walt
Hi Cristi 2009/6/18 Cristi Constantin darkg...@yahoo.com: I have a question about advanced indexing. I have 2 matrices : a=array([[ 0,  1,  2,  3,  4,  5],         [ 6,  7,  8,  9, 10, 11], [12, 13, 14, 15, 16, 17], [18, 19, 20, 21, 22, 23]]) b=array([[1, 0, 1],  

Re: [Numpy-discussion] Interleaved Arrays and

2009-06-18 Thread Ian Mallett
Most excellent solutions, thanks! ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Advanced indexing advice?

2009-06-18 Thread Cristi Constantin
Thank you so much for your prompt answer, Stéfan. It's a very very interesting method. I will keep it for future. :) But, i tested it with a few examples and the speed of execution is just a tiny bit slower than what i told you i was using. So it's not faster, it's about the same speed. Thank

[Numpy-discussion] Please add Mac binary for numpy 1.3.0 and Python 2.6

2009-06-18 Thread Russell E. Owen
If you don't want to build one then you are welcome to serve one I built. Several people have tried it and reported that it works. Contact me for a URL. -- Russell ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

[Numpy-discussion] Windows build-slave needed: please help out!

2009-06-18 Thread Stéfan van der Walt
Hi everyone, Thomas Heller was kind enough to host our Windows build-slave thus far, but he can no longer do so. We need a new home for the Windows build slave, so if you have a Windows machine that is permanently on-line and that does not contain mission-critical data, please give me a shout.

Re: [Numpy-discussion] Windows build-slave needed: please help out!

2009-06-18 Thread David Goldsmith
Hi, Stefan. I was just thinking about the computer I'd designate for this, and remembered that I still have it running XP Pro and don't want to upgrade it to Vista, so there's that to consider. DG --- On Thu, 6/18/09, Stéfan van der Walt ste...@sun.ac.za wrote: From: Stéfan van der Walt

Re: [Numpy-discussion] Windows build-slave needed: please help out!

2009-06-18 Thread Charles R Harris
On Thu, Jun 18, 2009 at 3:58 PM, David Goldsmithd_l_goldsm...@yahoo.com wrote: Hi, Stefan.  I was just thinking about the computer I'd designate for this, and remembered that I still have it running XP Pro and don't want to upgrade it to Vista, so there's that to consider. Lots of folks

Re: [Numpy-discussion] Windows build-slave needed: please help out!

2009-06-18 Thread David Goldsmith
OK, thanks. I assume, if I'm selected, you'll be making this as plug-and-play as possible? DG --- On Thu, 6/18/09, Charles R Harris charlesr.har...@gmail.com wrote: From: Charles R Harris charlesr.har...@gmail.com Subject: Re: [Numpy-discussion] Windows build-slave needed: please help out!