std::gamma_distribution::max - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::gamma_distribution::max

From cppreference.com
< cpp‎ | numeric‎ | random‎ | gamma 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/gamma_distribution/max&oldid=50948"