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