Function Reference
— Function File: discrete_inv (x, v, p)

For each component of x, compute the quantile (the inverse of the CDF) at x of the univariate distribution which assumes the values in v with probabilities p.