cvt_1d_nonuniform_test, a MATLAB code which calls cvt_1d_nonuniform(), which approximates a CVT for a nonuniform density function.
The information on this web page is distributed under the MIT license.
cvt_1d_nonuniform, a MATLAB code 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;