Melvin's digital garden

Efficient sampling from a finite discrete distribution

[Alias method]

Fast loaded dice roller

Links to this note