generates a sequence of numberOfPoints sample points (x_i, p(x_i)), i=1..n , where p is the probability density function according to which the points are sampled
generates a sequence of numberOfPoints sample points (x_i, p(x_i)), i=1..n , where p is the probability density function according to which the points are sampled