For each element of x, compute the probability density function (PDF) at x of the geometric distribution with parameter p.