Integration of the Laplace distribution probability density function gives
Solving these two equations for gives
Generate one uniform and return this piecewise expression. The branches agree at and the inverse transform sampling proof establishes the target law without any rejection step.

Articles by others on the same topic (0)

There are currently no matching articles.