|
Boost : |
Subject: Re: [boost] [random] new threefry random engine
From: John Salmon (john_at_[hidden])
Date: 2014-05-05 09:10:42
On Fri, May 2, 2014 at 11:43 AM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> AMDG
>
> On 04/29/2014 10:00 AM, John Salmon wrote:
> >
> > I've dusted off the code I wrote a couple of years ago and republished
> it,
> > now on github:
> >
> > https://github.com/DEShawResearch/Random123-Boost
> >
>
> For this to be included in Boost.Random, it must be
> released under the Boost Software License.
>
I'm confident that this will be possible. I've started the necessary
in-housel conversation..
> > counter_based_urng
> > ------------------
> >
> > The counter_based_urng class uses the pseudo-random property of PRFs
> > to perform random number generation in accordance with the
> > requirements of a UniformRandomNumberGenerator. <snip>
> >
> > counter_based_engine
> > --------------------
> >
> > The counter_based_engine class is a templated adapter class that
> > models a bona fide RandomNumberEngine. <snip>
> >
>
> Is there really a good reason to make two separate
> templates? A RandomNumberEngine is a URNG, by definition.
>
>
I had reasons, but they're less convincing than I initially thought.
I'm working on a new version that only has counter_based_engine. It should
be ready soon.
John Salmon
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk