A RetroSearch Logo

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

Search Query:

Showing content from https://cplusplus.com/reference/random/negative_binomial_distribution/k/ below:

public member function

<random>

std::negative_binomial_distribution::k
result_type k() const;

Distribution parameter k

Returns the parameter k associated with the negative_binomial_distribution.

This parameter represents the number of unsuccessful trials that stops the count of successful Bernoulli-distributed experiments each value generated by operator() is said to simulate.

This parameter is set on construction as the first argument.



Parameters none

Return value Distribution parameter k.
result_type is a member type, defined as an alias of the first class template parameter (IntType).

Complexity Constant.

See also
negative_binomial_distribution::(ctor)
Construct negative binomial distribution (public member function)
negative_binomial_distribution::p
Distribution parameter p (public member function)
negative_binomial_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