cvt_1d_sampling_test, a MATLAB code which calls cvt_1d_sampling(), which carries out Lloyd's algorithm for a centroidal Voronoi Tessellation in the interval [0,1].


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

cvt_1d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using sampling to estimate the Voronoi regions.

Source Code:

Last revised on 24 December 2018.