##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::negative_binomial_distribution::reset

From cppreference.com
< cpp‎ | numeric‎ | random‎ | negative binomial 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/negative_binomial_distribution/reset&oldid=50993"