Subject: Re: [boost] [random] status on discard(), PRF, and SOC2010 quasi-random
From: Thijs (M.A.) van den Berg (thijs_at_[hidden])
Date: 2012-03-18 19:17:55
> On 03/18/2012 01:13 PM, Thijs (M.A.) van den Berg wrote:
>>> On 03/18/2012 11:11 AM, thijs_at_[hidden] wrote:
>>>> I was wondering what the status is on implementing the discard() functionality in random engines?
>>> linear_congruential_engine has an optimized discard.
>>> I think most of the rest are implemented as
>>> as simple for loop.
>> Good to hear that it's implemented. I went through the code and found it indeed (1.48 linear_congruential.hpp). There is however no mention I could find in the online manuals of 1.49 about "engines" concepts. Is it implemented but not ready as a full implementation of the C++11engine concept? is that reason that it's not publicly documented yet?
> That's an oversight. Boost.Random should
> be fully compatible with C++0x <random>.
> I'll update the Concepts to reflect this.
> Can you file a ticket a http://svn.boost.org/?
I will. Thanks for the feedback.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk