walker_sample_test, a C code which calls walker_sample() to efficiently sample a discrete probability vector.
The computer code and data files described and made available on this web page are distributed under the MIT license
walker_sample, a C code which efficiently samples a discrete probability vector using Walker sampling.