Skip to main content.
December 8th, 2006

updated lcgp class header

If you’re in the market for a pseudo-random number generator (prng) for your C++ development activities, I have just updated my linear congruential generator with perturbations (lcgp) class header. There is now a flag to account for adjusting the range of returned random numbers from 0..(modulus-1) to 1..modulus. The header is available here: lcgp.h.

And yes, I think this is fun.

Posted by wmyers in news, fun, personal

This entry was posted on Friday, December 8th, 2006 at 11:44 and is filed under news, fun, personal. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.