Invisible <voi### [at] dev null> wrote:
> This is great if you just want to produce a really long stream of random
> numbers. But are there any PRNGs out there which offer random (!) access
> to the stream of numbers? In other words, the ability to compute the Nth
> random number without needing to compute any of the preceding ones?
You could use a hashing function to convert N to a pseudorandom number,
and it should work exactly as you describe.
--
- Warp
Post a reply to this message
|