Random indices are drawn from a finite set with given probabilities p[0], ..., p[n-1]. Using the alias method by Walker and Vose, some tables are precomputed. This allows for a very efficient drawing, with cost independent of n. The software comes as a little C library, with configure and make scripts, and with an application example.
Follow ransampl - random number sampling
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ransampl - random number sampling!