##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::piecewise_linear_distribution::reset

From cppreference.com
< cpp‎ | numeric‎ | random‎ | piecewise linear distribution

[edit template]

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().

### [edit] Parameters

(none)

### [edit] Return value

(none)

### [edit] Complexity

Constant.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/piecewise_linear_distribution/reset&oldid=51011"