Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread DIPO ELEGBEDE
t; >> >> ___ >> NumPy-Discussion mailing list >> NumPy-Discussion@scipy.org >> http://mail.scipy.org/mailman/listinfo/numpy-discussion >> > > > ___ > NumPy-Discussion m

Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread dipo . elegbede
Olivier, the code you sent did so much magic and I'm definitely using that. What baffles me is that looping through the 12 arrays seem impossible. I have tried what you just sent but it won't just work. You could confirm this. Sent from my BlackBerry wireless device from MTN -Original Mess

Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread DIPO ELEGBEDE
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 >> 1 1 >> >> 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 >> 1 1 >> >> 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 >> 1 1 >> >> 1 1 1 1 1 1 1 1 1 1 1 1 1

Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread dipo . elegbede
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 >>  1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 >>  1 1 1 1 1 1 1 1 1 1] >> [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1] >> [1 1] >> [1 1 1 1 1] >> [1 1 1] >&g

Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread dipo . elegbede
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1] > [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Re: [Numpy-discussion] Dealing with arrays

2011-09-20 Thread dipo . elegbede
Thanks. There are other computations I have to do with numpy, hence the use. Second, I am on python 2.6. Any help? Sent from my BlackBerry wireless device from MTN -Original Message- From: Olivier Delalleau Sender: numpy-discussion-boun...@scipy.org Date: Tue, 20 Sep 2011 09:56:45 To

[Numpy-discussion] Dealing with arrays

2011-09-20 Thread DIPO ELEGBEDE
seems to be working, can anyone put me through? I would be most grateful. -- Dipo Elegbede,OCA 08033299270,08077682428 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy Help

2011-07-29 Thread DIPO ELEGBEDE
Thanks Martins, that did the magic. Thanks so much. I'm on the tutorials now. Regards. On 29 Jul 2011 15:24, "Martin Ling" wrote: > On Fri, Jul 29, 2011 at 02:55:15PM +0100, DIPO ELEGBEDE wrote: >> >> I have a 4 by 4 matrix filled with 0s, 1s and 2s. >> I want

[Numpy-discussion] Numpy Help

2011-07-29 Thread DIPO ELEGBEDE
with 0s, 1s and 2s. I want to loop through the whole matrix to get the fields with 1s and 2s only and then count how many ones and how many twos. Please help. -- Dipo Elegbede,OCA 08033299270,08077682428 ___ NumPy-Discussion mailing list NumPy