C++ class for adaptive rejection sampling, with loose ties to Rcpp.