n which can be efficiently sampled by numpy. This method is much faster than the general rejection sampling based algorithm. r