Please help me with the algorithm to draw random samples from a uniform distribution so as to plot Maxwellian distribution from the same.

It would also be helpful if you might share a good random no. generator function preferably in C++.

Similar questions and discussions