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