Skip to content

Instantly share code, notes, and snippets.

@jeffrey-cochran
Created March 2, 2021 20:27
Show Gist options
  • Select an option

  • Save jeffrey-cochran/5363ef5c999e63af38b2291fe92b73d3 to your computer and use it in GitHub Desktop.

Select an option

Save jeffrey-cochran/5363ef5c999e63af38b2291fe92b73d3 to your computer and use it in GitHub Desktop.
Sample from a unifrom distribution
from numpy.random import uniform
p = uniform(size=(10,))
print(p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment