geometric_rnd [statistics]
— Function File: geometric_rnd (p, r, c)
— Function File: geometric_rnd (p, sz)

Return an r by c matrix of random samples from the geometric distribution with parameter p, which must be a scalar or of size r by c.

If r and c are given create a matrix with r rows and c columns. Or if sz is a vector, create a matrix of size sz.