Algorithm Rejection Sampling
We want to sample from PDF
- Generate
from - Accept
with probability
Or equivalently, - Generate
from - Generate
from - Accept
if
where we requirefor all . For efficiency, we can let .

Algorithm Rejection Sampling
We want to sample from PDF
