**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;

- cvt_1d_nonuniform_test.m calls all the tests.
- cvt_1d_nonuniform_test.sh runs all the tests.
- cvt_1d_nonuniform_test.txt the output file.
- cvt_1d_nonuniform.png is a PNG image of the "trajectories" of the generators as the CVT iteration proceeds.
- generators_17.txt, the location of the 17 generators at the end of the iteration.