24-Dec-2018 09:00:30 CVT_1D_LUMPING MATLAB version Use lumping to implement a version of Lloyd's algorithm in the 1D interval [-1,1]. Number of generators is 5 Number of iterations is 1000 Number of samples is 4000000 Initial generators (Uniform, staggered): 1 -0.666667 2 -0.333333 3 0.000000 4 0.333333 5 0.666667 Saved graphics file "density.png" Saved graphics file "energy_005_u.png" Saved graphics file "motion_005_u.png" Saved graphics file "evolution_005_u.png" CVT data: K G H rho H^3 mu H 1 -0.9998 0.1913 629.9 8.572 2 -0.6177 0.4999 0.2569 0.6357 3 0.0000 0.6177 0.2356 0.6177 4 0.6176 0.4998 0.2566 0.6355 5 0.9996 0.1914 306.1 6.739 Chebyshev Zero Node data for comparison K G H rho H^3 mu H 1 -0.9511 0.2306 0.4154 0.7462 2 -0.5878 0.4755 0.2031 0.5878 3 0.0000 0.5878 0.2031 0.5878 4 0.5878 0.4755 0.2031 0.5878 5 0.9511 0.2306 0.4154 0.7462 ||G-ChebyshevZero|| = 0.0806926 Saved CVT coordinates in file "cvt_005_u.txt" Saved Chebyshev Zero node coordinates in file "chebyzero_005.txt" Iteration required 25.9443 seconds. CVT_1D_LUMPING Normal end of execution. 24-Dec-2018 09:00:58 Output saved in "output_005_u.txt"