Re: random numbers in fortran
- From: Jan Vorbrüggen <jvorbrueggen@xxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 16:43:51 +0100
"The basic statistical property that you should worry about first is the
cycle length. To shuffle cards you want all 52! permutations to have a
chance of happening. With a short cycle length that does not happen.
A rather critical issue if you are going to pretend that the results
have any relevance to real card games."
Would you please elucidate?
The number of permutations of the 52 cards is 52!, which according to Stirling's approximation is about 10^68. So you would need a random number
generator with at least that cycle length to generate all possible patterns.
Not that anybody would care, given that the universe is less than 10^61 Planck times old.
Jan
.
- References:
- random numbers in fortran
- From: lane straatman
- Re: random numbers in fortran
- From: Thomas Koenig
- random numbers in fortran
- Prev by Date: Re: Cray binary format
- Next by Date: Re: How to assign a=b=c=2 in fortran in one statement
- Previous by thread: Re: random numbers in fortran
- Next by thread: Re: random numbers in fortran
- Index(es):
Relevant Pages
|