Function Reference: laplace_cdf

statistics: p = laplace_cdf (x)
statistics: p = laplace_cdf (x, mu)
statistics: p = laplace_cdf (x, mu, beta)

Laplace cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x of the Laplace distribution with a location parameter mu and a scale parameter (i.e. "diversity") beta. The size of p 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_inv, laplace_pdf, laplace_rnd

Source Code: laplace_cdf