GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::geometric_distribution::operator()(3) C++ Standard Libary std::geometric_distribution::operator()(3)

std::geometric_distribution::operator() - std::geometric_distribution::operator()


template< class Generator > (1) (since C++11)
result_type operator()( Generator& g );
template< class Generator > (2) (since C++11)
result_type operator()( Generator& g, const param_type& params );


Generates random numbers that are distributed according to the associated
probability function. The entropy is acquired by calling g.operator().


The first version uses the associated parameter set, the second version uses params.
The associated parameter set is not modified.


g - a uniform random bit generator object
params - distribution parameter set to use instead of the associated one


-
Generator must meet the requirements of UniformRandomBitGenerator.


The generated random number.


Amortized constant number of invocations of g.operator().

2024.06.10 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.