Create exponential random number generator using
these macros and example from previous slide
❑ Use uniform_generator and TRandom::Uniform() and
compare their performances
❑ Plot generated X distribution and compare it with f(x)
It seems that you have all the needed information in the “previous slide”.
1 Like
Hi @Ali_Awada ,
this is a user support forum, we do not do homework but we can help fix bugs in your code if you encounter problems.
Cheers,
Enrico
3 Likes