Overloaded Initializer for a Prng - Pseudo random number generator. Thread safe, xorshift1024* or xorshift128+ generator than can draw from different distributions. See Prng_Class for more information on how to use this class.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(in) | :: | seed(:) | Fixed seeds of 64 bit integers. If big == true, must be length 16 else must be length 2. |
||
logical, | intent(in), | optional | :: | big | Use the high period xorshift1024* (true) or xorshift128+ (false). Default is false. |
Prng Class
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in), | optional | :: | big | Use the high period xorshift1024* (true) or xorshift128+ (false). Default is false. |
|
logical, | intent(in), | optional | :: | display | Display the randomly generated seed to the screen for reproducibility |
Prng Class