Re: [Numpy-discussion] PEP 465 has been accepted / volunteers needed

2014-04-07 Thread Alexander Belopolsky
I took liberty and reposted this as an "ENH" issue on the Python bug tracker. http://bugs.python.org/issue21176 On Mon, Apr 7, 2014 at 7:23 PM, Nathaniel Smith wrote: > Guido just formally accepted PEP 465: > https://mail.python.org/pipermail/python-dev/2014-April/133819.html > http://lega

Re: [Numpy-discussion] PEP 465 has been accepted / volunteers needed

2014-04-07 Thread Fernando Perez
On Mon, Apr 7, 2014 at 4:23 PM, Nathaniel Smith wrote: > Hey all, > > Guido just formally accepted PEP 465: > https://mail.python.org/pipermail/python-dev/2014-April/133819.html > http://legacy.python.org/dev/peps/pep-0465/#implementation-details Congratulations!! Getting a PEP through is v

[Numpy-discussion] PEP 465 has been accepted / volunteers needed

2014-04-07 Thread Nathaniel Smith
Hey all, Guido just formally accepted PEP 465: https://mail.python.org/pipermail/python-dev/2014-April/133819.html http://legacy.python.org/dev/peps/pep-0465/#implementation-details Yay. The next step is to implement it, in CPython and in numpy. I have time to advise on this, but not to do i

Re: [Numpy-discussion] mtrand normal sigma >= 0 too restrictive

2014-04-07 Thread Robert Kern
On Thu, Apr 3, 2014 at 2:35 PM, Neal Becker wrote: > Traceback (most recent call last): > File "./test_inroute_frame.py", line 1694, in > run_line (sys.argv) > File "./test_inroute_frame.py", line 1690, in run_line > return run (opt, cmdline) > File "./test_inroute_frame.py", line 1

Re: [Numpy-discussion] match RNG numbers with R?

2014-04-07 Thread Sturla Molden
Yaroslav Halchenko wrote: > it is in src/main/RNG.c (ack is nice ;) )... from visual inspection looks > "matching" I see... It's a rather vanilla Mersenne Twister, and it just use 32 bits of randomness. An signed int32 is multiplied by 2.3283064365386963e-10 to scale it to [0,1). Then they also

[Numpy-discussion] Proposed new function for joining arrays: np.interleave

2014-04-07 Thread Björn Dahlgren
Hello, Interleaving arrays is something I need to do every now and then, and by the looks of stackoverflow so do others: http://stackoverflow.com/questions/12861314/interleave-rows-of-two-numpy-arrays-in-python http://stackoverflow.com/questions/5347065/interweaving-two-numpy-arrays I think the

Re: [Numpy-discussion] match RNG numbers with R?

2014-04-07 Thread Robert Kern
On Mon, Apr 7, 2014 at 3:16 PM, Daπid wrote: > > On Apr 7, 2014 3:59 AM, "Yaroslav Halchenko" wrote: >> so I would assume that the devil is indeed in R post-processing and would >> look >> into it (if/when get a chance). > > The devil here is the pigeon and the holes problem. Mersenne Twister > g

Re: [Numpy-discussion] match RNG numbers with R?

2014-04-07 Thread Daπid
On Apr 7, 2014 3:59 AM, "Yaroslav Halchenko" wrote: > so I would assume that the devil is indeed in R post-processing and would look > into it (if/when get a chance). The devil here is the pigeon and the holes problem. Mersenne Twister generates random integers in a certain range. The output is g

Re: [Numpy-discussion] match RNG numbers with R?

2014-04-07 Thread Yaroslav Halchenko
On Mon, 07 Apr 2014, Sturla Molden wrote: > > so I would assume that the devil is indeed in R post-processing and would > > look > > into it (if/when get a chance). > I tried to look into the R source code. It's the worst mess I have ever > seen. I couldn't even find their Mersenne twister. it

Re: [Numpy-discussion] match RNG numbers with R?

2014-04-07 Thread Sturla Molden
Yaroslav Halchenko wrote: > so I would assume that the devil is indeed in R post-processing and would look > into it (if/when get a chance). I tried to look into the R source code. It's the worst mess I have ever seen. I couldn't even find their Mersenne twister. Sturla ___

[Numpy-discussion] ANN: numexpr 2.4 RC2

2014-04-07 Thread Francesc Alted
=== Announcing Numexpr 2.4 RC2 === Numexpr is a fast numerical expression evaluator for NumPy. With it, expressions that operate on arrays (like "3*a+4*b") are accelerated and use less memory than doing the same calculation in Python. It wears mu