splitmix64_engine
Declared in <folly/random/splitmix64.h>
class splitmix64_engine;
A standard-conforming RandomNumberEngine wrapping the SplitMix64 mixing step. Its 64-bit internal state advances by a fixed increment per draw, so discard() is O(1) and the full state is recoverable via operator>>.
| Name | Description |
|---|---|
result_type | The unsigned integer type produced by the engine. |
| Name | Description |
|---|---|
splitmix64_engine [constructor] | Constructors |
discard | discard |
operator() | Generates the next random value. |
seed | seed |
| Name | Description |
|---|---|
max | Returns the largest value the engine can produce. |
min | Returns the smallest value the engine can produce. |
| Name | Description |
|---|---|
default_seed | Default seed value used when none is provided. |
| Name | Description |
|---|---|
folly::operator>> | Reads the engine state from an input stream. |
folly::operator<< | Writes the engine state to an output stream. |
folly::operator== | Compares two engines for equality of state. |