cvt_2d_lumping_test, a MATLAB program which calls cvt_2d_lumping() to carry out a lumped version of Lloyd's iterative algorithm for the computation of a centroidal Voronoi Tessellation (CVT) in the unit square [-1,+1]x[-1,+1], for a general density function rho(x,y).
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
cvt_2d_lumping, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit square [-1,1]^2, under a Chebyshev density, using weighted sampling ("lumping") to estimate the Voronoi regions.