histogram_data_2d_sample_test, a Fortran77 code which calls histogram_data_2d_sample(), which demonstrates how to construct a Probability Density Function (PDF) from a table of sample data over a 2D region, and then to use that PDF to create new samples.
The information on this web page is distributed under the MIT license.
histogram_data_2d_sample, a Fortran77 code which demonstrates how to construct a Probability Density Function (PDF) from a table of sample data over a 2D region, and then to use that PDF to create new samples.
TEST01 computes 1000 samples, based on a 20x20 PDF table that is heavily biased toward the northwest corner.
TEST02 computes 1000 samples, based on a 12x8 PDF table that is loosely based on the population of counties in Iowa.