Re: [Numpy-discussion] 100 Numpy exercices

2014-05-28 Thread nicky van foreest
I meant exercise 9 of the neophyte section... On 29 May 2014 07:04, nicky van foreest wrote: > Hi, > > Very helpful, these exercises. > > Pertaining to exercise 9. Is there a reason not to use the solution of > exercise 5? > > bye > > Nicky > > > On 2

Re: [Numpy-discussion] 100 Numpy exercices

2014-05-28 Thread nicky van foreest
Hi, Very helpful, these exercises. Pertaining to exercise 9. Is there a reason not to use the solution of exercise 5? bye Nicky On 29 May 2014 00:59, Eraldo Pomponi wrote: > It doesn't use stride_tricks, and seberg doesn't quite like it, but this >> made the rounds in StackOverflow a couple

Re: [Numpy-discussion] Suggestions for GSoC Projects

2014-01-31 Thread nicky van foreest
Hi Jennifer, On 31 January 2014 00:01, jennifer stone wrote: > With GSoC 2014 being round the corner, I hereby put up few projects for > discussion that I would love to pursue as a student. > Guidance, suggestions are cordially welcome:- > > 1. If I am not mistaken, contour integration is not

Re: [Numpy-discussion] sum and prod

2012-09-09 Thread nicky van foreest
Thanks for your hints. NIcky On 9 September 2012 00:30, eat wrote: > Hi, > > On Sun, Sep 9, 2012 at 12:56 AM, nicky van foreest > wrote: >> >> Hi, >> >> I ran the following code: >> >> args = np.array([4,8]) >> print np.s

Re: [Numpy-discussion] sum and prod

2012-09-09 Thread nicky van foreest
On 9 September 2012 00:10, Warren Weckesser wrote: > > > On Sat, Sep 8, 2012 at 4:56 PM, nicky van foreest > wrote: >> >> Hi, >> >> I ran the following code: >> >> args = np.array([4,8]) >> print np.sum( (arg > 0) for a

[Numpy-discussion] sum and prod

2012-09-08 Thread nicky van foreest
Hi, I ran the following code: args = np.array([4,8]) print np.sum( (arg > 0) for arg in args) print np.sum([(arg > 0) for arg in args]) print np.prod( (arg > 0) for arg in args) print np.prod([(arg > 0) for arg in args]) with this result: 2 1 at 0x1c7041

Re: [Numpy-discussion] Correlated distributions (?)

2012-08-16 Thread nicky van foreest
Hi, >> once again, my apologies for a (possibly) very ignorant question, >> my google-fu is failing me... also because I am not sure of what >> exactly I should look for. >> >> My problem is relatively simple. Let's assume I have two Python >> objects, A and B, and one of their attributes can