diaphony, a MATLAB code which computes the "diaphony" of an M-dimensional pointset.
The diaphony of an M-dimensional pointset is a numeric measure of the uniformity of the dispersion of the points throughout the unit hypercube.
Regarded as a random variable itself, the diaphony of a set of N points has an expected value of 1/sqrt(N).
For the Halton datasets in 2D, 7D and 16D, here is the table of the number of points versus the diaphony:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
diaphony is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.