$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Csaba Szepesvari (szepes_at_[hidden])
Date: 2000-06-08 09:54:22
> By the way, re the parameter passing/copying issue if you forbid the copy
> constructor then how should I write a function that uses a random number
> generator (with a specific distribution)? E.g. imagine I want to write a
> library supporting Monte-Carlo integration: I need to check the distribution
> (first issue), but I would like to use a user supplied rng because of
> independence and because users might have preferences for certain rngs.
This was kind of stupid. Of course, one can pass by reference.
However, I was thinking about passing rngs to stl algorithms (like generate).
Csaba