CDF_snake A handy tool for performing efficient inverse-transform sampling of one-dimensional conditional probability distributions.