07-Jan-2022 22:43:27 line_cvt_lloyd_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 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.814724 2 0.905792 3 0.126987 4 0.913376 5 0.632359 6 0.097540 7 0.278498 8 0.546882 9 0.957507 10 0.964889 11 0.157613 12 0.970593 13 0.957167 14 0.485376 15 0.800280 16 0.141886 17 0.421761 18 0.915736 19 0.792207 20 0.959492 21 0.655741 22 0.035712 23 0.849129 24 0.933993 25 0.678735 Current generators: 1 0.026147 2 0.078276 3 0.129922 4 0.180784 5 0.230593 6 0.279123 7 0.326200 8 0.371702 9 0.415569 10 0.457796 11 0.498434 12 0.537580 13 0.575371 14 0.611973 15 0.647574 16 0.682364 17 0.716534 18 0.750261 19 0.783699 20 0.816978 21 0.850193 22 0.883412 23 0.916670 24 0.949977 25 0.983321 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.757740 2 0.743132 3 0.392227 4 0.655478 5 0.171187 6 0.706046 7 0.031833 8 0.276923 9 0.046171 10 0.097132 11 0.823458 12 0.694829 13 0.317099 14 0.950222 15 0.034446 16 0.438744 17 0.381558 18 0.765517 19 0.795200 20 0.186873 21 0.489764 22 0.445586 23 0.646313 24 0.709365 25 0.754687 Current generators: 1 0.000000 2 0.039812 3 0.079562 4 0.119194 5 0.158667 6 0.197961 7 0.237080 8 0.276054 9 0.314942 10 0.353827 11 0.392814 12 0.432025 13 0.471590 14 0.511639 15 0.552295 16 0.593665 17 0.635829 18 0.678839 19 0.722708 20 0.767412 21 0.812887 22 0.859031 23 0.905709 24 0.952759 25 1.000000 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.118998 2 0.138624 3 0.149294 4 0.162612 5 0.223812 6 0.243525 7 0.254282 8 0.255095 9 0.257508 10 0.276025 11 0.340386 12 0.498364 13 0.505957 14 0.547216 15 0.585268 16 0.655098 17 0.679703 18 0.699077 19 0.751267 20 0.814285 21 0.840717 22 0.890903 23 0.929264 24 0.959291 25 0.959744 Current generators: 1 0.019840 2 0.059525 3 0.099229 4 0.138965 5 0.178741 6 0.218566 7 0.258445 8 0.298383 9 0.338379 10 0.378430 11 0.418531 12 0.458674 13 0.498849 14 0.539044 15 0.579249 16 0.619450 17 0.659637 18 0.699800 19 0.739932 20 0.780029 21 0.820088 22 0.860112 23 0.900105 24 0.940073 25 0.980026 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.011902 2 0.053950 3 0.075854 4 0.129906 5 0.196595 6 0.251084 7 0.285839 8 0.337123 9 0.349984 10 0.351660 11 0.380446 12 0.469391 13 0.473289 14 0.530798 15 0.549724 16 0.567822 17 0.568824 18 0.585264 19 0.616045 20 0.753729 21 0.757200 22 0.779167 23 0.830829 24 0.917194 25 0.934011 Current generators: 1 0.000000 2 0.040094 3 0.080189 4 0.120286 5 0.160391 6 0.200514 7 0.240672 8 0.280886 9 0.321185 10 0.361602 11 0.402174 12 0.442942 13 0.483945 14 0.525221 15 0.566806 16 0.608724 17 0.650994 18 0.693622 19 0.736602 20 0.779916 21 0.823532 22 0.867407 23 0.911487 24 0.955707 25 1.000000 line_cvt_lloyd_test(): Normal end of execution. 07-Jan-2022 22:44:19