A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/random/geometric_distribution/p/ below:

public member function

<random>

std::geometric_distribution::p
double p() const;

Probability of success

Returns the parameter p associated with the geometric_distribution.

This parameter represents the probability of success on each of the sequence of independent Bernoulli-distributed experiments each value generated by operator() is said to simulate.

This parameter is set on construction.



Parameters none

Return value The probability parameter (p) associated with the distribution object.

Complexity Constant.

See also
geometric_distribution::(constructor)
Construct geometric distribution (public member function)
geometric_distribution::param
Distribution parameters (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4