Wed Oct 8 08:24:58 2025 linplus_c8_test(): python version: 3.10.12 numpy version: 1.26.4 Test linplus_c8(). c8_le_l2_test c8_le_l2 evalues (C1 <= C2) using the L2 norm. C1=c8_uniform_01 C2=c8_uniform_01 L3=c8_le_l2(C1,C2) --------------------- --------------------- --------------------- ( -0.957979, -0.114440) ( -0.534354, -0.363577) False ( -0.422353, -0.196888) ( -0.433371, -0.784189) True ( 0.579869, 0.187558) ( 0.814433, 0.161954) True ( 0.083755, -0.732041) ( -0.043201, -0.621060) False ( -0.328660, 0.136048) ( 0.100921, 0.852844) True ( -0.184664, -0.761918) ( -0.621935, -0.749888) True ( -0.694384, -0.570914) ( 0.162958, -0.804654) False ( 0.092308, 0.221383) ( -0.060701, -0.451814) True ( 0.483625, -0.604680) ( 0.409093, -0.175623) False ( 0.289452, 0.575034) ( 0.741884, 0.294216) True c8_norm_l2_test c8_norm_l2 computes the L2 norm of a C8. C1=c8_uniform_01 R2=c8_norm_l21(C1) --------------------- --------------------- ( -0.081483, -0.360018) 0.369123 ( -0.135236, 0.767796) 0.779615 ( 0.253165, 0.140062) 0.289327 ( -0.467951, -0.470879) 0.663857 ( -0.710835, 0.448605) 0.840555 ( 0.914975, 0.353688) 0.980956 ( -0.152540, 0.804047) 0.818389 ( 0.803534, -0.294688) 0.855867 ( -0.246833, 0.491119) 0.549658 ( -0.412768, -0.177337) 0.449251 c8_uniform_01_test c8_uniform_01 computes pseudorandom complex values in the unit circle. 0 ( -0.110583, -0.869345 ) 1 ( -0.428143, -0.82478 ) 2 ( -0.345742, 0.669775 ) 3 ( -0.81225, 0.42698 ) 4 ( -0.385179, 0.00108804 ) 5 ( -0.728669, -0.177209 ) 6 ( -0.0134022, -0.75109 ) 7 ( -0.026474, 0.954269 ) 8 ( 0.650063, -0.401906 ) 9 ( -0.416116, 0.227147 ) c8mat_print_test(): c8mat_print() prints an C8MAT. Here is a C8MAT: Col: 0 1 2 Row 0 : 10 1i 10 2i 10 3i 1 : 20 1i 20 2i 20 3i 2 : 30 1i 30 2i 30 3i 3 : 40 1i 40 2i 40 3i c8mat_print_some_test c8mat_print_some prints some of an C8MAT. Here is a C8MAT: Col: 3 4 5 Row 0 : 10 4i 10 5i 10 6i 1 : 20 4i 20 5i 20 6i 2 : 30 4i 30 5i 30 6i c8vec_indicator_test c8vec_indicator returns the indicator vector. The indicator vector: 0 1 -1 1 2 -2 2 3 -3 3 4 -4 4 5 -5 5 6 -6 6 7 -7 7 8 -8 8 9 -9 9 10 -10 c8vec_print_test c8vec_print prints an C8VEC. Here is a C8VEC: 0 1 2 1 3 4 2 5 6 3 7 8 c8vec_sort_a_l2_test(): c8vec_sort_a_l2() sorts a C8VEC by L2 norm. The unsorted vector: 0 -0.126798 -0.340314 1 0.128895 0.450642 2 0.669271 -0.143054 3 -0.0780994 -0.287803 4 0.236002 -0.783314 5 -0.409953 0.401173 6 -0.375782 -0.810866 7 -0.52566 0.421524 8 0.665235 -0.687869 9 -0.541254 -0.48949 I A(I) ||A(I)|| 0 ( -0.0780994, -0.287803) 0.298212 1 ( -0.126798, -0.340314) 0.363169 2 ( 0.128895, 0.450642) 0.468713 3 ( -0.409953, 0.401173) 0.573586 4 ( -0.52566, 0.421524) 0.673796 5 ( 0.669271, -0.143054) 0.684389 6 ( -0.541254, -0.48949) 0.729765 7 ( 0.236002, -0.783314) 0.818094 8 ( -0.375782, -0.810866) 0.893709 9 ( 0.665235, -0.687869) 0.956923 c8vec_uniform_01_test(): c8vec_uniform_01() computes pseudorandom complex values in the unit circle. 0 ( 0.037381, -0.343757 ) 1 ( 0.773594, 0.176639 ) 2 ( 0.246144, -0.407087 ) 3 ( 0.402077, -0.190676 ) 4 ( -0.596775, 0.531752 ) 5 ( 0.141877, -0.330781 ) 6 ( -0.428780, 0.498409 ) 7 ( 0.296386, -0.772800 ) 8 ( -0.685191, 0.033161 ) 9 ( 0.125047, 0.661390 ) c8vec_unity_test c8vec_unity returns the N roots of unity. The N roots of unity: 0 1 0 1 0.866025 0.5 2 0.5 0.866025 3 6.12323e-17 1 4 -0.5 0.866025 5 -0.866025 0.5 6 -1 1.22465e-16 7 -0.866025 -0.5 8 -0.5 -0.866025 9 -1.83697e-16 -1 10 0.5 -0.866025 11 0.866025 -0.5 i4vec_print_test i4vec_print prints an I4VEC. Here is an I4VEC: 0 91 1 92 2 93 3 94 sort_safe_rc_test(): sort_safe_rc() sorts objects externally. This function does not use persistent memory. Unsorted array: 0 9 1 10 2 15 3 9 4 2 5 11 6 2 7 4 8 4 9 1 10 11 11 13 12 18 13 5 14 12 15 16 16 3 17 18 18 4 19 13 Sorted array: 0 1 1 2 2 2 3 3 4 4 5 4 6 4 7 5 8 9 9 9 10 10 11 11 12 11 13 12 14 13 15 13 16 15 17 16 18 18 19 18 linplus_c8_test(): Normal end of execution. Wed Oct 8 08:24:58 2025