Constrained Sampling

Sample from a distribution, given a constraint function.