Wed Oct 8 08:50:30 2025 r8col_test(): python version: 3.10.12 numpy version: 1.26.4 Test r8col(). i4_log_10_test i4_log_10: whole part of log base 10, X, i4_log_10 0 0 1 0 2 0 3 0 9 0 10 1 11 1 99 1 101 2 -1 0 -2 0 -3 0 -9 0 r8col_flip_test(): r8col_flip() flips the columns of an R8COL. Matrix A: Col: 0 1 2 3 Row 0 : 0.0783657 0.895061 0.116017 0.196142 1 : 0.236267 0.281373 0.284116 0.375794 2 : 0.604571 0.945794 0.213722 0.06126 3 : 0.0855379 0.110818 0.825498 0.676835 4 : 0.802697 0.133884 0.712998 0.247482 Matrix after column flipping: Col: 0 1 2 3 Row 0 : 0.802697 0.133884 0.712998 0.247482 1 : 0.0855379 0.110818 0.825498 0.676835 2 : 0.604571 0.945794 0.213722 0.06126 3 : 0.236267 0.281373 0.284116 0.375794 4 : 0.0783657 0.895061 0.116017 0.196142 r8col_indicator_test r8col_indicator creates an "indicator" R8COL. The indicator matrix: Col: 0 1 2 3 Row 0 : 11 12 13 14 1 : 21 22 23 24 2 : 31 32 33 34 3 : 41 42 43 44 4 : 51 52 53 54 r8col_max_test For an R8COL, an array of column vectors r8col_max computes maximums The array: Col: 0 1 2 3 Row 0 : 1 2 3 4 1 : 5 6 7 8 2 : 9 10 11 12 Column maximums: 0: 9 1: 10 2: 11 3: 12 r8col_mean_test For an R8COL, an array of column vectors r8col_mean computes means The array: Col: 0 1 2 3 Row 0 : 1 2 3 4 1 : 5 6 7 8 2 : 9 10 11 12 Column means: 0: 5 1: 6 2: 7 3: 8 r8col_min_test For an R8COL, an array of column vectors r8col_min computes minimums The array: Col: 0 1 2 3 Row 0 : 1 2 3 4 1 : 5 6 7 8 2 : 9 10 11 12 Column minimums: 0: 1 1: 2 2: 3 3: 4 r8col_normalize_li_test(): r8col_normalize_li() normalizes an array A, dividing each column by its maximum element. Matrix A: Col: 0 1 2 3 Row 0 : -2.3688 1.45558 -1.19869 0.650895 1 : 1.52575 0.658944 3.30677 -2.89758 2 : 4.65737 -4.06808 0.0587046 1.99668 3 : 4.99365 -1.14547 2.2902 -4.07216 4 : 4.80164 -4.92823 0.0349653 -2.29804 Matrix after column LI normalization: Col: 0 1 2 3 Row 0 : -0.474363 -0.295355 -0.362495 -0.15984 1 : 0.305538 -0.133708 1 0.711558 2 : 0.932657 0.825465 0.0177529 -0.490326 3 : 1 0.232431 0.692578 1 4 : 0.961548 1 0.0105738 0.56433 r8col_print_test r8col_print prints an R8COL. Here is an R8COL: Col: 0 1 2 3 4 Row 0 : 11 12 13 14 15 1 : 21 22 23 24 25 2 : 31 32 33 34 35 3 : 41 42 43 44 45 Col: 5 Row 0 : 16 1 : 26 2 : 36 3 : 46 r8col_print_some_test r8col_print_some prints some of an R8COL. Here is an R8COL: Col: 3 4 5 Row 0 : 14 15 16 1 : 24 25 26 2 : 34 35 36 r8col_sum_test For an R8COL, an array of column vectors r8col_sum computes sums The array: Col: 0 1 2 3 Row 0 : 1 2 3 4 1 : 5 6 7 8 2 : 9 10 11 12 The column sums: 0: 15 1: 18 2: 21 3: 24 r8col_swap_test r8col_swap swaps two columns of an R8COL. The array: Col: 0 1 2 3 Row 0 : 11 12 13 14 1 : 21 22 23 24 2 : 31 32 33 34 Swap columns 0 and 2 The updated matrix: Col: 0 1 2 3 Row 0 : 13 12 11 14 1 : 23 22 21 24 2 : 33 32 31 34 r8col_to_r8vec_test r8col_to_r8vec converts an R8COL matrix to an R8VEC vector. R8COL matrix: Col: 0 1 2 Row 0 : 11 12 13 1 : 21 22 23 2 : 31 32 33 3 : 41 42 43 Corresponding R8VEC vector: 0: 11 1: 21 2: 31 3: 41 4: 12 5: 22 6: 32 7: 42 8: 13 9: 23 10: 33 11: 43 r8col_transpose_print_test r8col_transpose_print prints an R8COL. Here is an R8COL, transposed: Row: 0 1 2 3 Col 0 : 11 21 31 41 1 : 12 22 32 42 2 : 13 23 33 43 r8col_transpose_print_some_test r8col_transpose_print_some prints some of an R8COL, transposed. R8COL, rows 0:2, cols 3:5: Row: 0 1 2 Col 3 : 14 24 34 4 : 15 25 35 5 : 16 26 36 r8col_uniform_01_test() r8col_uniform_01() computes a random R8COL. Random R8COL: Col: 0 1 2 3 Row 0 : 0.246151 0.995425 0.367588 0.738324 1 : 0.00185358 0.167943 0.0229336 0.0172725 2 : 0.828901 0.473917 0.883325 0.855428 3 : 0.218378 0.426105 0.853021 0.768362 4 : 0.619255 0.44801 0.104523 0.440939 r8col_uniform_ab_test() r8col_uniform_ab() computes a random R8COL. -1 <= X <= 5 Random R8COL: Col: 0 1 2 3 Row 0 : -0.937111 -0.816604 2.59473 4.37247 1 : 4.91562 2.15471 4.92716 -0.34598 2 : -0.727219 4.47253 2.79818 3.3517 3 : 3.1466 2.22341 3.13619 3.20542 4 : 2.86249 4.94839 0.516336 1.41248 r8col_uniform_abvec_test(): r8col_uniform_abvec() computes a random scaled R8COL. Col Min Max 0 -1 1 1 0 1 2 50 55 3 100 100.1 4 17 20 Random R8COL: Col: 0 1 2 3 Row 0 : -0.960069 -0.466779 -0.686385 0.259127 1 : 0.00366035 0.815708 0.973876 0.739636 2 : 54.6357 53.7595 53.481 54.0841 3 : 100.037 100.062 100.056 100.044 4 : 19.5671 19.9549 18.6415 19.1945 r8col_variance_test For an R8COL, an array of column vectors r8col_variance computes variances The array: Col: 0 1 2 3 Row 0 : 1 2 3 4 1 : 5 6 7 8 2 : 9 10 11 12 Column variances: 0: 16 1: 16 2: 16 3: 16 r8col_test(): Normal end of execution. Wed Oct 8 08:50:30 2025