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