|
typedef threefry_engine4_base< ulonglong4, unsigned long long, 20 >::threefry_state_4 | threefry4x64_20_state |
|
|
FQUALIFIERS | threefry4x64_20_engine (const unsigned long long seed=0, const unsigned long long subsequence=0, const unsigned long long offset=0) |
| Initializes the internal state of the PRNG using seed value seed , goes to subsequence -th subsequence, and skips offset random numbers. More...
|
|
FQUALIFIERS void | seed (const unsigned long long seed=0, const unsigned long long subsequence=0, const unsigned long long offset=0) |
| Reinitializes the internal state of the PRNG using new seed value seed_value , skips subsequence subsequences and offset random numbers. More...
|
|
Public Member Functions inherited from rocrand_device::threefry_engine4_base< ulonglong4, unsigned long long, 20 > |
FQUALIFIERS void | discard (unsigned long long offset) |
| Advances the internal state to skip offset numbers.
|
|
FQUALIFIERS void | discard_subsequence (unsigned long long subsequence) |
| Advances the internal state to skip subsequence subsequences, a subsequence consisting of 4 * (2 ^ b) random numbers, where b is the number of bits of the value type of the generator. More...
|
|
FQUALIFIERS unsigned long long | operator() () |
|
FQUALIFIERS unsigned long long | next () |
|
FQUALIFIERS ulonglong4 | next4 () |
|
◆ threefry4x64_20_engine()
FQUALIFIERS rocrand_device::threefry4x64_20_engine::threefry4x64_20_engine |
( |
const unsigned long long |
seed = 0 , |
|
|
const unsigned long long |
subsequence = 0 , |
|
|
const unsigned long long |
offset = 0 |
|
) |
| |
|
inline |
Initializes the internal state of the PRNG using seed value seed
, goes to subsequence
-th subsequence, and skips offset
random numbers.
A subsequence is 2 ^ 130 numbers long.
◆ seed()
FQUALIFIERS void rocrand_device::threefry4x64_20_engine::seed |
( |
const unsigned long long |
seed = 0 , |
|
|
const unsigned long long |
subsequence = 0 , |
|
|
const unsigned long long |
offset = 0 |
|
) |
| |
|
inline |
Reinitializes the internal state of the PRNG using new seed value seed_value
, skips subsequence
subsequences and offset
random numbers.
A subsequence is 2 ^ 130 numbers long.
The documentation for this class was generated from the following file: