@apocentre/alias-sampling

Library for sampling of random values from a discrete probability distribution, using the Walker-Vose alias method.

Browse on unpkg