scalismo.numerics
sample n points (x_1, ...
sample n points (x_1, ... x_n), yielding an sequence of (x_i, p(x_i)), i=1..n , p is the probability density function according to which the points are sampled