Re: [Numpy-discussion] Fwd: [numfocus] Grants up to $3k available to NumFOCUS projects (sponsored & affiliated)

2017-04-03 Thread Ralf Gommers
On Mon, Apr 3, 2017 at 11:28 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 31.03.2017 16:07, Julian Taylor wrote: > > On 31.03.2017 15:51, Nathaniel Smith wrote: > >> On Mar 31, 2017 1:15 AM, "Ralf Gommers" >> > wrote: > >> > >> > >> > >> On Mon

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Pierre Haessig
Le 03/04/2017 à 17:49, Neal Becker a écrit : > I think the intention is that this is the next gen of numpy > randomstate, and will eventually be merged in. Ah yes, I found the related issue in the meantime: https://github.com/numpy/numpy/issues/6967 Thanks again for the pointers. Pierre

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Nathaniel Smith
On Apr 3, 2017 8:59 AM, "Pierre Haessig" wrote: Le 03/04/2017 à 15:44, Jaime Fernández del Río a écrit : This says that Julia uses this library

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Pierre Haessig
Le 03/04/2017 à 15:44, Jaime Fernández del Río a écrit : > This > > says > that Julia uses this library > , which > is di

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Neal Becker
I think the intention is that this is the next gen of numpy randomstate, and will eventually be merged in. On Mon, Apr 3, 2017 at 11:47 AM Pierre Haessig wrote: > > Le 03/04/2017 à 15:52, Neal Becker a écrit : > > Take a look here: > > https://bashtage.github.io/ng-numpy-randomstate/doc/index.ht

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Pierre Haessig
Le 03/04/2017 à 15:52, Neal Becker a écrit : > Take a look here: > https://bashtage.github.io/ng-numpy-randomstate/doc/index.html Thanks for the pointer. A very feature-full random generator package. So it is indeed possible to have in Python/Numpy both the "advanced" Mersenne Twister (dSFMT) at

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Neal Becker
Take a look here: https://bashtage.github.io/ng-numpy-randomstate/doc/index.html On Mon, Apr 3, 2017 at 9:45 AM Jaime Fernández del Río wrote: > On Mon, Apr 3, 2017 at 3:20 PM, Pierre Haessig > wrote: > > Hello, > Le 30/03/2017 à 13:31, Pierre Haessig a écrit : > > [] > > But how come Julia

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Jaime Fernández del Río
On Mon, Apr 3, 2017 at 3:20 PM, Pierre Haessig wrote: > Hello, > Le 30/03/2017 à 13:31, Pierre Haessig a écrit : > > [] > > But how come Julia is 4-5x faster since Numpy uses C implementation for > the entire process ? (Mersenne Twister -> uniform double -> Box-Muller > transform to get a Gau

Re: [Numpy-discussion] speed of random number generator compared to Julia

2017-04-03 Thread Pierre Haessig
Hello, Le 30/03/2017 à 13:31, Pierre Haessig a écrit : > [] > > But how come Julia is 4-5x faster since Numpy uses C implementation > for the entire process ? (Mersenne Twister -> uniform double -> > Box-Muller transform to get a Gaussian > https://github.com/numpy/numpy/blob/master/numpy/rand

Re: [Numpy-discussion] Fwd: [numfocus] Grants up to $3k available to NumFOCUS projects (sponsored & affiliated)

2017-04-03 Thread Renato Fabbri
maybe OT, but is has become recurrent to me for already some years to make a very simple module for obtaining arrays related to musical elements. All here: https://github.com/ttm/dissertacao scripts/ have Python/Numpy has implementions of the musical elements. dissertacaoCorrigida.pdf holds a thoro

Re: [Numpy-discussion] Fwd: [numfocus] Grants up to $3k available to NumFOCUS projects (sponsored & affiliated)

2017-04-03 Thread Julian Taylor
On 31.03.2017 16:07, Julian Taylor wrote: > On 31.03.2017 15:51, Nathaniel Smith wrote: >> On Mar 31, 2017 1:15 AM, "Ralf Gommers" > > wrote: >> >> >> >> On Mon, Mar 27, 2017 at 11:42 PM, Ralf Gommers >> mailto:ralf.gomm...@gmail.com>> wrote: >> >> >> >>