Re: [Numpy-discussion] Prototype CorePRNG implementation feedback (Neal Becker)

2018-02-22 Thread Robert Kern
On Feb 22, 2018 16:30, "Kevin Sheppard" wrote: > What is the syntax to construct an initialized generator? > RandomGenerator(Xoroshiro128(my_seed))? > > Not 100% certain on this. There was talk in the earlier thread that seed should be killed, No, just the np.random.seed() function alias for

Re: [Numpy-discussion] Prototype CorePRNG implementation feedback (Neal Becker)

2018-02-22 Thread Kevin Sheppard
> > > What is the syntax to construct an initialized generator? > RandomGenerator(Xoroshiro128(my_seed))? > > Not 100% certain on this. There was talk in the earlier thread that seed should be killed, although I wasn't clear what mathod would be preferrable to get easily reproducible random number

Re: [Numpy-discussion] improving arange()? introducing fma()?

2018-02-22 Thread Chris Barker
On Thu, Feb 22, 2018 at 11:57 AM, Sebastian Berg wrote: > > First, you are right...Decimal is not the right module for this. I > > think instead I should use the 'fractions' module for loading grid > > spec information from strings (command-line, configs, etc). The > > tricky part is getting the

Re: [Numpy-discussion] improving arange()? introducing fma()?

2018-02-22 Thread Sebastian Berg
On Thu, 2018-02-22 at 14:33 -0500, Benjamin Root wrote: > Sorry, I have been distracted with xarray improvements the past > couple of weeks. > > Some thoughts on what has been discussed: > > First, you are right...Decimal is not the right module for this. I > think instead I should use the 'fract

Re: [Numpy-discussion] improving arange()? introducing fma()?

2018-02-22 Thread Benjamin Root
Sorry, I have been distracted with xarray improvements the past couple of weeks. Some thoughts on what has been discussed: First, you are right...Decimal is not the right module for this. I think instead I should use the 'fractions' module for loading grid spec information from strings (command-l

[Numpy-discussion] 1.15 release manager

2018-02-22 Thread Charles R Harris
Hi All, Would any of the other NumPy developers be interested in making the 1.15 release? It isn't difficult, and I don't mind doing it, but it would be a good thing if more people became familiar with the process. Chuck ___ NumPy-Discussion mailing lis

Re: [Numpy-discussion] improving arange()? introducing fma()?

2018-02-22 Thread Chris Barker
@Ben: Have you found a solution to your problem? Are there thinks we could do in numpy to make it better? -CHB On Mon, Feb 12, 2018 at 9:33 AM, Chris Barker wrote: > I think it's all been said, but a few comments: > > On Sun, Feb 11, 2018 at 2:19 PM, Nils Becker > wrote: > >> Generating equid

Re: [Numpy-discussion] Prototype CorePRNG implementation feedback

2018-02-22 Thread Neal Becker
What is the syntax to construct an initialized generator? RandomGenerator(Xoroshiro128(my_seed))? On Thu, Feb 22, 2018 at 6:06 AM Kevin Sheppard wrote: > I have implemented a working prototype of a pluggable RandomState. The > repo is located at https://github.com/bashtage/core-prng. > > The ma

[Numpy-discussion] Prototype CorePRNG implementation feedback

2018-02-22 Thread Kevin Sheppard
I have implemented a working prototype of a pluggable RandomState. The repo is located at https://github.com/bashtage/core-prng. The main design has a small PRNG (currently only SplitMix64 and Xoroshiro128 are implemented) that does not have any public functions available to generate random numbe