This is the python implementation of Thomas Prellberg's stochastic sampling functions. The prerequisites modules of the functions are the following:
- numpy as np
- random
- matplotlib.pyplot as plt
- scipy.special as sc
The functions implemented are listed below (in order).
- simple sampling
- biased sampling
- uniform sampling
- perm sampling
- blind perm sampling
- simple self-avoiding walk (SAW) sampling
- rosenbluth sampling
- perm sampling SAW