Doh!

Brilliantly stupid way to make a seekable PRNG.

Everything that I was looking for.  And less!

On Mon, Sep 28, 2009 at 1:05 PM, Jake Mannix <[email protected]> wrote:

>
> Considering the PRNG is just needed to get vectors which aren't linearly
> dependent, it seems like even using a completely random-access random
> stream (like M_i,j = new Random(seed ^ (i * numRows + j)).nextInt() )
> should work, requiring no memory at all.




-- 
Ted Dunning, CTO
DeepDyve

Reply via email to