![]() I've looked at Linear Feedback Shift registers, but these are state dependent too. It seems, that I cannot achieve this with rand_r or srand(), since these need are state dependent, and I may need to compute the nth in some unknown order. Most importantly, I need to be able to compute the nth term in the series in constant time. should happen every time I use the seed x. it must be repeatable, given a particular seed.Įg: If seed = x, then the series a,b,c,d,e,f.I don't want to use the term "random number generator", since people think in very strict terms about it, but I can't think of any other word to describe it. ![]() I need to create a simple random number generator for use in my computer graphics application. I do not intend to use this for security purposes or statistical analysis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |