|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
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.