07-Jan-2023 22:46:18 line_cvt_lloyd_test(): MATLAB/Octave version 4.2.2 Test line_cvt_lloyd(). line_cvt_lloyd_test01(): Test the unconstrained computation. Use 25 points in the interval [0,1] Take 200 iterations. Call this calculation "test01" Expect a uniform spacing of 0.0416667 Initial generators: 1 0.204548 2 0.573557 3 0.432753 4 0.128416 5 0.385270 6 0.168875 7 0.189631 8 0.424380 9 0.694935 10 0.753339 11 0.411181 12 0.035295 13 0.978047 14 0.687122 15 0.410054 16 0.794662 17 0.360734 18 0.858512 19 0.957951 20 0.339428 21 0.984773 22 0.669064 23 0.929147 24 0.169416 25 0.847996 Current generators: 1 0.022454 2 0.067291 3 0.111924 4 0.156226 5 0.200084 6 0.243405 7 0.286115 8 0.328170 9 0.369547 10 0.410249 11 0.450306 12 0.489764 13 0.528690 14 0.567162 15 0.605265 16 0.643086 17 0.680712 18 0.718218 19 0.755672 20 0.793125 21 0.830616 22 0.868163 23 0.905773 24 0.943439 25 0.981142 line_cvt_lloyd_test02(): Test the constrained computation. Use 25 points in the interval [0,1] Take 200 iterations. Call this calculation "test02" Expect a uniform spacing of 0.04 Initial generators: 1 0.572492 2 0.480397 3 0.852237 4 0.525505 5 0.023827 6 0.662822 7 0.154034 8 0.487555 9 0.945523 10 0.793301 11 0.492954 12 0.646996 13 0.765994 14 0.180911 15 0.846492 16 0.117935 17 0.029081 18 0.611206 19 0.186960 20 0.017948 21 0.664754 22 0.564026 23 0.306338 24 0.978264 25 0.935244 Current generators: 1 0.000000 2 0.043953 3 0.087689 4 0.131005 5 0.173731 6 0.215737 7 0.256948 8 0.297348 9 0.336980 10 0.375946 11 0.414403 12 0.452547 13 0.490606 14 0.528821 15 0.567432 16 0.606660 17 0.646693 18 0.687669 19 0.729674 20 0.772725 21 0.816777 22 0.861719 23 0.907385 24 0.953561 25 1.000000 Graphics saved as "test02_energy.png" Graphics saved as "test02_motion.png" Graphics saved as "test02_evolution.png" line_cvt_lloyd_test03(): Test the unconstrained computation. Sort the random initial values before use. Use 25 points in the interval [0,1] Take 200 iterations. Call this calculation "test03" Expect a uniform spacing of 0.0416667 Initial generators: 1 0.053575 2 0.060440 3 0.079452 4 0.088020 5 0.110651 6 0.124142 7 0.141009 8 0.165930 9 0.179609 10 0.244477 11 0.272145 12 0.324527 13 0.442257 14 0.546234 15 0.567672 16 0.622572 17 0.656277 18 0.678222 19 0.702455 20 0.713727 21 0.748953 22 0.769557 23 0.786494 24 0.899803 25 0.996223 Current generators: 1 0.017225 2 0.051729 3 0.086390 4 0.121309 5 0.156579 6 0.192284 7 0.228498 8 0.265280 9 0.302677 10 0.340722 11 0.379432 12 0.418815 13 0.458862 14 0.499556 15 0.540867 16 0.582760 17 0.625191 18 0.668112 19 0.711470 20 0.755209 21 0.799273 22 0.843603 23 0.888140 24 0.932825 25 0.977598 line_cvt_lloyd_test04(): Test the constrained computation. Sort the initial points before use. Use 25 points in the interval [0,1] Take 200 iterations. Call this calculation "test04" Expect a uniform spacing of 0.04 Initial generators: 1 0.001079 2 0.012659 3 0.060412 4 0.069327 5 0.076179 6 0.145026 7 0.179168 8 0.220966 9 0.225493 10 0.254874 11 0.267927 12 0.268095 13 0.281664 14 0.297821 15 0.354175 16 0.367631 17 0.373829 18 0.546753 19 0.558212 20 0.702527 21 0.776186 22 0.850775 23 0.899584 24 0.904414 25 0.929187 Current generators: 1 0.000000 2 0.031404 3 0.062966 4 0.094841 5 0.127181 6 0.160136 7 0.193848 8 0.228451 9 0.264069 10 0.300812 11 0.338777 12 0.378041 13 0.418662 14 0.460677 15 0.504097 16 0.548908 17 0.595071 18 0.642517 19 0.691156 20 0.740869 21 0.791516 22 0.842937 23 0.894953 24 0.947374 25 1.000000 Graphics saved as "test04_energy.png" Graphics saved as "test04_motion.png" Graphics saved as "test04_evolution.png" line_cvt_lloyd_test(): Normal end of execution. 07-Jan-2023 22:47:02