cvt_1d_nonuniform_test, a MATLAB program which calls cvt_1d_nonuniform() to approximate a CVT for a nonuniform density function.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
cvt_1d_nonuniform, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation (CVT) in 1 dimension, under a nonuniform density, and plots the evolution of the locations of the generators during the iteration;