Namespaces
Variants
Views
Actions

std::binomial_distribution::p

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

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

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

Parameters

(none)

Return value

Floating point value identifying the probability of a trial generating true

See also

Template:cpp/numeric/random/distribution/dcl list paramTemplate:cpp/numeric/random/binomial distribution/dcl list t