aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorArun Isaac2021-03-19 21:46:38 +0530
committerArun Isaac2021-03-19 21:46:38 +0530
commit5b8aa0c2cb6f187eba957de9400913b83bbf539a (patch)
treec3a3331ba5dc2bb969a77da2b1478080b867da1d /examples
parent30104d8ee20733cf4e2195ef9a6cd202a7a257e5 (diff)
downloadnsmc-5b8aa0c2cb6f187eba957de9400913b83bbf539a.tar.gz
nsmc-5b8aa0c2cb6f187eba957de9400913b83bbf539a.tar.lz
nsmc-5b8aa0c2cb6f187eba957de9400913b83bbf539a.zip
Factor out random planar angle generation.
* contrib/cone-vector.py (random_planar_angle_cdf, random_vector_on_disk): New functions. (random_vector_on_spherical_cap): Rename to random_vector_on_spherical_cap_cdf. Call random_planar_angle_cdf and random_vector_on_disk. (sample_code): Call random_vector_on_spherical_cap_cdf instead of random_vector_on_spherical_cap.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions