diff options
author | Stan Seibert <stan@mtrr.org> | 2011-09-03 09:19:55 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-09-03 09:19:55 -0400 |
commit | 48550062440c5b7f1479ecbe17fd4b024a90fca2 (patch) | |
tree | 6b64979c375d98fee4a11fbd4ab4ab86d0507d51 /src/matrix.h | |
parent | b8e7b443242c716c12006442c2738e09ed77c0c9 (diff) | |
download | chroma-48550062440c5b7f1479ecbe17fd4b024a90fca2.tar.gz chroma-48550062440c5b7f1479ecbe17fd4b024a90fca2.tar.bz2 chroma-48550062440c5b7f1479ecbe17fd4b024a90fca2.zip |
GPU-based sampling from an arbitrary distribition.
The sample_cdf() device function will draw random numbers from an arbitrary
disribution given a cumulative distribution function in the form of
a list of x,y points, beginning with y=0 and ending with y=1. For an
example of how to convert a ROOT histogram to this form, see the unit
test in test_sample_cdf.py
Diffstat (limited to 'src/matrix.h')
0 files changed, 0 insertions, 0 deletions