cpp/numeric/random/bernoulli distribution/p

Returns the $p$ parameter the distribution was constructed with. It defines the probability of generating. The default value is.

Parameters
(none)

Return value
Floating point value identifying the $p$ distribution parameter.