Algorithm AS 287: Adaptive Rejection Sampling from Log-Concave Density Functions | Synapse