|
Celeritas 0.7.0-dev.264+develop.12c52268
|
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 | |
| CachedRngEngine (Engine &e) | |
| Save values on construction. | |
| result_type | operator() () |
| Return the next pseudorandom number in the sequence. | |
| constexpr size_type | remaining () const |
| Get the number of remaining samples. | |
Static Public Member Functions | |
| static constexpr result_type | min () |
| Lowest value potentially generated. | |
| static constexpr result_type | max () |
| Highest value potentially generated. | |
| static constexpr size_type | size () |
| Get the total number of stored samples. | |
Store several PRNG engine results and return them.