Boost logo

Boost :

Subject: Re: [boost] [random] new threefry random engine
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-04-21 19:51:35


AMDG

On 04/21/2014 02:28 PM, John Salmon wrote:
> <snip>
> I would love to see a boost implementation that captured and exposed
> this capability for general use. Thus, I think a better approach is
> as follows:
>
> - define a new "RandomFunction" concept that dscribes/enforces the
> essential, common features of the randomizing function in Threefry,
> Philox, ARS and other counter-based random generators.
>

I don't think this is a particularly useful
abstraction. Most users should not care at
all about this, since they should be using
the predefined engine typedefs. If more
similar generators are added later, then the
implementation can be adjusted to factor
out the common boilerplate, but I really
don't see the point of creating a whole new
concept for this.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk