geometricdens
Calculates the probability density function (PDF) for the geometric distribution function for inputted parameters. Depending on input, function can return scalar, vector or matrix
Arguments
- Positive integer k, number of independent trials
- Success probability p, real value in (0,1]
Output
Resulting value in [0,1]
Examples