alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The standard library mersenne twister random number generator. More...
#include <RandStdLib.hpp>
Public Types | |
using | result_type = std::mt19937::result_type |
Public Member Functions | |
MersenneTwister ()=default | |
ALPAKA_FN_HOST | MersenneTwister (std::uint32_t const &seed, std::uint32_t const &subsequence=0, std::uint32_t const &offset=0) |
ALPAKA_FN_HOST auto | operator() () -> result_type |
Static Public Member Functions | |
static constexpr ALPAKA_FN_HOST auto | max () -> result_type |
static constexpr ALPAKA_FN_HOST auto | min () -> result_type |
The standard library mersenne twister random number generator.
size of state: 19937 bytes
Definition at line 40 of file RandStdLib.hpp.
using alpaka::rand::engine::cpu::MersenneTwister::result_type = std::mt19937::result_type |
Definition at line 57 of file RandStdLib.hpp.
|
default |
|
inline |
Definition at line 47 of file RandStdLib.hpp.
|
inlinestaticconstexpr |
Definition at line 64 of file RandStdLib.hpp.
|
inlinestaticconstexpr |
Definition at line 59 of file RandStdLib.hpp.
|
inline |
Definition at line 69 of file RandStdLib.hpp.