Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/random/discrete distribution/reset"

From cppreference.com
m (Add link to edit the included template)
m (langlinks)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{page template|cpp/numeric/random/distribution/reset|discrete_distribution}}
+
{{page|cpp/numeric/random/distribution/reset|discrete_distribution}}

Latest revision as of 16:05, 28 November 2021

 
 
 
 
 
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.