diff options
author | Arun Isaac | 2021-03-16 13:23:13 +0530 |
---|---|---|
committer | Arun Isaac | 2021-03-16 13:23:13 +0530 |
commit | b6cb0b189243bac7718cb4ddc65630a971ddfbeb (patch) | |
tree | aa1909f72aeb71f38735de1b443fd0d61dbf745b /contrib/cone-vector.py | |
parent | d3c68431fb8a1eb444d5635faa13fd4ffb0073f1 (diff) | |
download | nsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.tar.gz nsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.tar.lz nsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.zip |
Implement simplified cone sampling algorithm.
* src/nd-random.sc (hollow-cone-random-vector): Implement simplified
algorithm that directly samples the surface of the sphere instead of
sampling a disk and projecting it onto the surface.
Diffstat (limited to 'contrib/cone-vector.py')
0 files changed, 0 insertions, 0 deletions