Skip to content

Instantly share code, notes, and snippets.

@jph00
Created January 21, 2018 17:53
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save jph00/30cfed589a8008325eae8f36e2c5b087 to your computer and use it in GitHub Desktop.
Save jph00/30cfed589a8008325eae8f36e2c5b087 to your computer and use it in GitHub Desktop.
Fast weighted sampling using the alias method in numba
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment