Namespaces
Variants
Views
Actions

std::bernoulli_distribution::p

From cppreference.com
< cpp‎ | numeric‎ | random‎ | bernoulli distribution
Revision as of 22:04, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 
double p() const;
(since C++11)

Returns the p distribution parameter (probability of generating true).

Parameters

(none)

Return value

Floating point value identifying the probability of generating true

See also

Template:cpp/numeric/random/distribution/dcl list param