just to develop what Fedja said above:
say you have a map from to that represents a surface (Klein bottle in your initial example). The infinitesimal surface is mapped to a surface of area . So it would suffice to sample points inside distributed according to a probability distribution .
1: as Fedja mentioned it, you can use a rejection sampling approach - you just need to find a bound on , which should be very easy since is simple.
2: you can use a MCMC approach, which is equally easily implemented (e.g. independence sampler) - might be a little bit faster.
No comments:
Post a Comment