ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Random library: fn seed returning current seed value- why not
by Csaba Szepesvari other posts by this author
May 19 2003 3:21PM messages near this date
[boost] detail/limits.hpp suggestion | [boost] Re: Random library: fn seed returning current seed value- whynot
Hello,

It would be nice to retrieve the current seed: I want to dump it so that
later I can reproduce the experiments I am running (that use the random
library).
Is there a bona fide reason not to return the seed (e.g. in the seed
function).
The issue comes in when using seed without params (for "random"
initialization).
Of course, I could move the code inside seed to my code and set the seed
explicitly.
I just thought that the interface would be nicer that way (and I won't need
to copy code).

- Csaba



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Csaba Szepesvari
Csaba Szepesvari
Matthias Troyer

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved