[…] This post demonstrates how to optimize a function that evaluates a CDF to compute a probability. A future blog post will present an example of optimizing a function that calls the QUAD subroutine to evaluate an integral. …