Advertisement
TheRealBazhen

Untitled

Apr 15th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. def uniform(size=1, precision=30):
  2.     count = np.prod(size)
  3.     data = coin((precision, count))
  4.     multipliers = np.full((precision, count), 2).cumprod(axis=0)
  5.     return (data / multipliers).sum(axis=0).reshape(size)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement