Module rgsl::randist::laplace [] [src]

Functions

laplace

This function returns a random variate from the Laplace distribution with width a. The distribution is,

laplace_P

This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width a.

laplace_Pinv

This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width a.

laplace_Q

This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width a.

laplace_Qinv

This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width a.

laplace_pdf

This function computes the probability density p(x) at x for a Laplace distribution with width a, using the formula given above.