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
Veeam Data Platform v13.1 - Get Your Free Trial
Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ransampl - random number sampling!