rejection_sample_test, an Octave code which calls rejection_sample(), which demonstrates acceptance/rejection sampling.
The information on this web page is distributed under the MIT license.
rejection_sample, an Octave code which demonstrates acceptance/rejection sampling.