|
|
◆ InitGenrand64()
| Sub InitGenrand64 |
( |
S As |
LongLong | ) |
|
Initialization of random number generator (64 bit Mersenne Twister)
- Purpose
- Initializes the 64 bit Mersenne Twister (MT19937-64) random number generator by the seed.
The random number generator should be initialized by InitGenrand64() or InitByArray64() before generating random numbers.
- Parameters
-
| [in] | S | Seed. (unsigned 64-bit integer which may be zero.) |
- Note
- If the random number generator is called without an initialization by InitGenrand64() or InitByArray64(), it will be automatically initialized by using 5489 as the seed.
This routine cannot be used on the 32 bit Excel.
- Reference
- Mersenne Twister Home Page
- Example Program
- See example of Genrand64Int63 and Genrand64Int64.
|