Generating random matrices?



Here's what I tried:

f[i,j]:random(10);
A:genmatrix(f,4,4);
B:genmatrix(f,4,4);

But A and B are exactly the same.  It seems that the random number
generator is reset each time it is called by f[i,j] in genmatrix.  How
can I override this behaviour?  I want each new matrix to be
different.  I'm sure it has something to do with set_random_state or
make_random_state, but I don't know how.  Or is there a variable which
can be set to force the random number generator to produce different
sequences?

Thanks,
Alasdair