asa159_test, a Fortran90 code which calls asa159(), which constructs a table having given row and column sums, by Michael Patefield;
The information on this web page is distributed under the MIT license.
asa159, a Fortran90 code which randomly generates an RxC contingency table, by Michael Patefield; This is a version of Applied Statistics Algorithm 159.