
Hi, Continue this question. I want to have dynamic Bernoulli experiment, which has the p changed dynamically with time! How can I implement it? thanks! On Tue, Mar 31, 2009 at 4:12 PM, Barco You <barcojie@gmail.com> wrote:
Hi peter,
Okay, I see now ,thanks!
On Tue, Mar 31, 2009 at 4:03 PM, Peter Bartlett <pete@pcbartlett.com>wrote:
Quoting Barco You <barcojie@gmail.com>:
Hi,
Sorry, wait!!! [...]
In the first case one variate_generator is constructed and it is used 10 times.
In the second case 10 variate_generators are contructed and each used once. Since they are default constructed, they are each primed to return the same sequence. In particular they return the same first number, 0.
Pete
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- ------------------------------- Enjoy life! Barco You
-- ------------------------------- Enjoy life! Barco You