[Tutor] A question on randomness

Andrea Valle marta_andrea@libero.it
Thu, 11 Jul 2002 23:22:48 +0200


Hi list,
It' a couple of year I work with random generators.

- Something like this:
rand_param=whrandom.randint((-(matr_param[param])), matr_param[param])
-

But it seems to me that the code works as it often produces looping patterns
(at least, they seem so to me): if the range is  0, 5, something like
12312354542222 etc.
I know pseudo-random generation is a complex matter. Is there a way to
"improve" it? (I mean, to obtain a "good sequence" like 1432543122140133
etc.)
 best

-a-

Andrea Valle
via Lanzo 108
10073 - Cirie (TO)
ITALIA
011/921 45 84 - 349/55 47 343