Tue May 20 22:02:22 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.934087, 0.191709) ( 0.695428, -0.046460) False ( -0.601110, 0.228589) ( 0.737731, -0.421790) True ( 0.119866, 0.324983) ( -0.037448, 0.544819) True ( -0.802908, 0.393635) ( -0.014708, -0.666897) False ( -0.950997, 0.092273) ( 0.020663, -0.395480) False ( 0.315108, -0.754597) ( -0.254333, -0.693681) False ( 0.874259, 0.139247) ( -0.577143, -0.640487) False ( -0.627639, 0.654374) ( 0.920493, 0.081374) True ( 0.402928, -0.635052) ( 0.615730, -0.776883) True ( 0.712973, -0.493347) ( -0.495721, -0.516899) False c8_norm_l2_test c8_norm_l2 computes the L2 norm of a C8. C1=c8_uniform_01 R2=c8_norm_l21(C1) --------------------- --------------------- ( -0.184179, -0.098567) 0.208896 ( 0.637548, 0.388912) 0.746807 ( 0.231846, 0.544451) 0.591760 ( 0.183006, -0.931724) 0.949527 ( 0.324278, 0.051457) 0.328335 ( -0.545095, 0.408948) 0.681445 ( -0.289598, 0.480615) 0.561122 ( -0.026892, 0.512884) 0.513589 ( -0.009014, -0.492371) 0.492454 ( -0.400337, -0.193384) 0.444597 c8_uniform_01_test c8_uniform_01 computes pseudorandom complex values in the unit circle. 0 ( -0.61249, 0.536337 ) 1 ( 0.503874, 0.649082 ) 2 ( -0.171629, -0.580292 ) 3 ( 0.497708, -0.25341 ) 4 ( 0.585334, 0.355535 ) 5 ( -0.96484, 0.102608 ) 6 ( 0.546497, 0.499242 ) 7 ( -0.101064, 0.444326 ) 8 ( 0.0515166, 0.411062 ) 9 ( -0.512945, 0.645183 ) 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.130022 -0.632215 1 -0.823125 0.0334854 2 0.56408 -0.0513651 3 0.237387 0.436672 4 0.792774 0.494453 5 0.239386 -0.0788658 6 0.180652 -0.137322 7 -0.0515788 -0.597446 8 -0.384326 -0.134954 9 -0.097811 -0.0455267 I A(I) ||A(I)|| 0 ( -0.097811, -0.0455267) 0.107887 1 ( 0.180652, -0.137322) 0.226919 2 ( 0.239386, -0.0788658) 0.252043 3 ( -0.384326, -0.134954) 0.407332 4 ( 0.237387, 0.436672) 0.497026 5 ( 0.56408, -0.0513651) 0.566414 6 ( -0.0515788, -0.597446) 0.599668 7 ( -0.130022, -0.632215) 0.645447 8 ( -0.823125, 0.0334854) 0.823806 9 ( 0.792774, 0.494453) 0.934331 c8vec_uniform_01_test(): c8vec_uniform_01() computes pseudorandom complex values in the unit circle. 0 ( 0.723507, -0.610138 ) 1 ( 0.308255, 0.822913 ) 2 ( 0.358968, 0.411160 ) 3 ( 0.624130, -0.498262 ) 4 ( 0.678585, -0.291179 ) 5 ( -0.197358, -0.361791 ) 6 ( 0.806866, -0.219972 ) 7 ( 0.315519, -0.450154 ) 8 ( 0.470203, -0.433482 ) 9 ( 0.584993, 0.217330 ) 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 19 1 15 2 13 3 19 4 9 5 13 6 13 7 2 8 15 9 5 10 11 11 13 12 7 13 15 14 6 15 18 16 5 17 11 18 6 19 8 Sorted array: 0 2 1 5 2 5 3 6 4 6 5 7 6 8 7 9 8 11 9 11 10 13 11 13 12 13 13 13 14 15 15 15 16 15 17 18 18 19 19 19 linplus_c8_test(): Normal end of execution. Tue May 20 22:02:22 2025