diff options
author | Arun Isaac | 2021-03-26 15:13:37 +0530 |
---|---|---|
committer | Arun Isaac | 2021-03-26 15:13:37 +0530 |
commit | 6d801965b448e1a392b1dac53e93ab689fcd9b92 (patch) | |
tree | fa88fe68badb48ba1a0abaa53979bee96781ff7a /.gitignore | |
parent | 0e34082e4842ac8a1e833d9d6605362cf2e323b2 (diff) | |
download | sambal-6d801965b448e1a392b1dac53e93ab689fcd9b92.tar.gz sambal-6d801965b448e1a392b1dac53e93ab689fcd9b92.tar.lz sambal-6d801965b448e1a392b1dac53e93ab689fcd9b92.zip |
Use numpy's random Generator interface.
* sambal/sambal.py: Import numpy.random.default_rng. Do not import
numpy.random.randn, numpy.random.random.
(random_on_sphere, random_on_disk, random_on_cap): Accept optional rng
argument. Use rng to generate random numbers.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions