Celeritas 0.6.0-2+develop.96611fab
|
Store several PRNG engine results and return them. More...
#include <CachedRngEngine.hh>
Public Types | |
Type aliases | |
using | result_type = typename Engine::result_type |
Public Member Functions | |
CELER_FUNCTION | CachedRngEngine (Engine &e) |
Save values on construction. | |
CELER_FUNCTION result_type | operator() () |
Return the next pseudorandom number in the sequence. | |
CELER_CONSTEXPR_FUNCTION size_type | remaining () const |
Get the number of remaining samples. | |
Static Public Member Functions | |
static CELER_CONSTEXPR_FUNCTION result_type | min () |
Lowest value potentially generated. | |
static CELER_CONSTEXPR_FUNCTION result_type | max () |
Highest value potentially generated. | |
static CELER_CONSTEXPR_FUNCTION size_type | size () |
Get the total number of stored samples. | |
Store several PRNG engine results and return them.