laplace_pdf
Laplace probability density function (PDF).
For each element of x, compute the probability density function (PDF) at x of the Laplace distribution with a location parameter mu and a scale parameter (i.e. "diversity") beta. The size of y is the common size of x, mu, and beta. A scalar input functions as a constant matrix of the same size as the other inputs.
Default values are mu = 0, beta = 1. Both parameters must be reals and beta > 0. For beta <= 0, NaN is returned.
See also: laplace_cdf, laplace_inv, laplace_rnd
Source Code: laplace_pdf