W3cubDocs

/C++

std::piecewise_linear_distribution::reset

void reset();
(since C++11)

Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator().

Parameters

(none).

Return value

(none).

Complexity

Constant.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/piecewise_linear_distribution/reset