Geometric probability density function

`y = geopdf(x,p)`

`y = geopdf(x,p)`

returns
the probability density function (pdf) of the geometric distribution
at each value in `x`

using the corresponding probabilities
in `p`

. `x`

and `p`

can
be vectors, matrices, or multidimensional arrays that all have the
same size. A scalar input is expanded to a constant array with the
same dimensions as the other input. The parameters in `p`

must
lie on the interval `[0,1]`

.