On this page
std::linear_congruential_engine<UIntType,a,c,m>::seed
|
(1) | (since C++11) |
|
(2) | (since C++11) |
Reinitializes the internal state of the random-number engine using new seed value.
Parameters
value | - | seed value to use in the initialization of the internal state |
seq | - | seed sequence to use in the initialization of the internal state |
Exceptions
Throws nothing.
Complexity
Linear in the size of the state.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine/seed