walker_sample_test, a C++ code which calls walker_sample(), which efficiently samples a discrete probability vector.
The information on this web page is distributed under the MIT license.
walker_sample, a C++ code which efficiently samples a discrete probability vector using Walker sampling.