|
Boost Users : |
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2008-07-21 11:47:36
Hi all,
I am currently using boost::random, and I wonder how it is possible to get
uniform random numbers on a union of two intervalls.
For instance, I would like to generate uniform_real numbers in the intervall
[-a;-b]U[b;a].
How can I do such a task ?
Best regards,
Olivier Tournaire
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net