HEX_GRID_DATASET is a MATLAB program which creates a hexagonal grid dataset and writes it to a file.
The program allows the user to choose:
HEX_GRID is a MATLAB library which supplies the computational routines used by HEX_GRID_DATASET.
HEX_GRID is a dataset collection which contains examples of hexagonal grids created by HEX_GRID_DATASET.
HEX_GRID_ANGLE is a FORTRAN90 library which computes elements of an angled hexagonal grid dataset.
HEX_GRID_DATASET is also available in a C++ version and a FORTRAN90 version.
TABLE is the format used for the output files created by HEX_GRID_DATASET.
TABLE_DISCREPANCY is an executable C++ program which can read a TABLE file of points (presumed to lie in the unit hypercube) and compute bounds on the star discrepancy, a measure of dispersion.
You can go up one level to the MATLAB source codes.