##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::negative_binomial_distribution::max

From cppreference.com
< cpp‎ | numeric‎ | random‎ | negative binomial distribution

[edit template]

result_type max() const; |  | (since C++11)

Returns the maximum value potentially generated by the distribution.

### [edit] Parameters

(none)

### [edit] Return value

The maximum value potentially generated by the distribution.

### [edit] Complexity

Constant.

### [edit] See also

min | returns the minimum potentially generated value (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/negative_binomial_distribution/max&oldid=50988"