std::binomial_distribution<IntType>::p, t
From cppreference.com
< cpp | numeric | random | binomial distribution
double p() const; |
(1) | (since C++11) |
IntType t() const; |
(2) | (since C++11) |
Returns the parameters the distribution was constructed with.
1) Returns the p distribution parameter (probability of a trial generating true).
2) Returns the t distribution parameter (integer value identifying the number of trials).
Parameters
(none)
Return value
1) The p distribution parameter (probability of a trial generating true).
2) The t distribution parameter (nnteger value identifying the number of trials).
See also
(C++11) |
gets or sets the distribution parameter object (public member function) |