Module rgsl::randist::geometric

source ·

Functions

This function returns a random integer from the geometric distribution, the number of independent trials with probability p until the first success. The probability distribution for geometric variates is,
This function computes the cumulative distribution functions P(k), Q(k) for the geometric distribution with parameter p.
This function computes the cumulative distribution functions P(k), Q(k) for the geometric distribution with parameter p.
This function computes the probability p(k) of obtaining k from a geometric distribution with probability parameter p, using the formula given above.