Wed Oct 8 08:50:35 2025 r8to_test(): python version: 3.10.12 numpy version: 1.26.4 Test r8to(). r8to_dif2_test(): r8to_dif2() sets up the second difference matrix in R8TO format. Matrix order N = 5 The matrix: Col: 0 1 2 3 4 Row --- 0 2 -1 0 0 0 1 -1 2 -1 0 0 2 0 -1 2 -1 0 3 0 0 -1 2 -1 4 0 0 0 -1 2 R8TO_INDICATOR_TEST R8TO_INDICATOR sets up a R8TO indicator matrix. Matrix order N = 5 The R8TO indicator matrix: Col: 0 1 2 3 4 Row --- 0 11 12 13 14 15 1 21 11 12 13 14 2 31 21 11 12 13 3 41 31 21 11 12 4 51 41 31 21 11 R8TO_MTV_TEST R8TO_MTV computes b=A'*x, where A is an R8TO matrix. Matrix order N = 5 The Toeplitz matrix: Col: 0 1 2 3 4 Row --- 0 0.932089 0.101024 0.848707 0.555475 0.600892 1 0.593038 0.932089 0.101024 0.848707 0.555475 2 0.703773 0.593038 0.932089 0.101024 0.848707 3 0.200413 0.703773 0.593038 0.932089 0.101024 4 0.439675 0.200413 0.703773 0.593038 0.932089 x: 0: 1 1: 2 2: 3 3: 4 4: 5 b = A'*x: 0: 7.22951 1: 7.56147 2: 9.73803 3: 9.2495 4: 9.3225 R8TO_MV_TEST R8TO_MV computes b=A*x, where A is an R8TO matrix. Matrix order N = 5 The Toeplitz matrix: Col: 0 1 2 3 4 Row --- 0 0.972509 0.140582 0.415561 0.410104 0.770772 1 0.294638 0.972509 0.140582 0.415561 0.410104 2 0.753387 0.294638 0.972509 0.140582 0.415561 3 0.304354 0.753387 0.294638 0.972509 0.140582 4 0.170084 0.304354 0.753387 0.294638 0.972509 x: 0: 1 1: 2 2: 3 3: 4 4: 5 b = A*x: 0: 7.99463 1: 6.37417 2: 6.90033 3: 7.28799 4: 9.08005 R8TO_PRINT_TEST R8TO_PRINT prints a R8TO matrix. Matrix order N = 5 The R8TO matrix: Col: 0 1 2 3 4 Row --- 0 11 12 13 14 15 1 21 11 12 13 14 2 31 21 11 12 13 3 41 31 21 11 12 4 51 41 31 21 11 R8TO_PRINT_SOME_TEST R8TO_PRINT_SOME prints some of a R8TO matrix. Matrix order N = 10 Rows2:5, Cols 1:3 Col: 1 2 3 Row --- 2 201 101 102 3 301 201 101 4 401 301 201 5 501 401 301 R8TO_RANDOM_TEST R8TO_RANDOM randomizes an R8TO matrix. Matrix order N = 5 The matrix: Col: 0 1 2 3 4 Row --- 0 0.280532 0.808216 0.59002 0.25109 0.145031 1 0.791507 0.280532 0.808216 0.59002 0.25109 2 0.0327279 0.791507 0.280532 0.808216 0.59002 3 0.69929 0.0327279 0.791507 0.280532 0.808216 4 0.00678535 0.69929 0.0327279 0.791507 0.280532 R8TO_SL_TEST R8TO_SL solves a A*x=b where A is an R8TO matrix. Matrix order N = 5 The Toeplitz matrix: Col: 0 1 2 3 4 Row --- 0 0.546252 0.047031 0.53027 0.610407 0.504851 1 0.0506215 0.546252 0.047031 0.53027 0.610407 2 0.823416 0.0506215 0.546252 0.047031 0.53027 3 0.00387594 0.823416 0.0506215 0.546252 0.047031 4 0.127081 0.00387594 0.823416 0.0506215 0.546252 Solution: 0: 1 1: 2 2: 3 3: 4 4: 5 r8to_slt_test r8to_slt solves A'*x=b where A is an R8TO matrix. Matrix order N = 5 The Toeplitz matrix: Col: 0 1 2 3 4 Row --- 0 0.533454 0.509628 0.893365 0.0481755 0.372063 1 0.531245 0.533454 0.509628 0.893365 0.0481755 2 0.569343 0.531245 0.533454 0.509628 0.893365 3 0.235868 0.569343 0.531245 0.533454 0.509628 4 0.732266 0.235868 0.569343 0.531245 0.533454 Solution to transposed system: 0: 1 1: 2 2: 3 3: 4 4: 5 r8to_to_r8ge_test r8to_to_r8ge converts a matrix from R8TO to R8GE format. Matrix order N = 5 The R8TO matrix: Col: 0 1 2 3 4 Row --- 0 0.162373 0.438819 0.29825 0.320637 0.596929 1 0.0399612 0.162373 0.438819 0.29825 0.320637 2 0.824122 0.0399612 0.162373 0.438819 0.29825 3 0.95188 0.824122 0.0399612 0.162373 0.438819 4 0.823102 0.95188 0.824122 0.0399612 0.162373 The R8GE matrix: [[0.1623726 0.43881917 0.29824966 0.32063665 0.59692911] [0.03996121 0.1623726 0.43881917 0.29824966 0.32063665] [0.82412212 0.03996121 0.1623726 0.43881917 0.29824966] [0.95188049 0.82412212 0.03996121 0.1623726 0.43881917] [0.8231024 0.95188049 0.82412212 0.03996121 0.1623726 ]] R8TO_ZEROS_TEST R8TO_ZEROS zeros an R8TO matrix. Matrix order N = 5 The matrix: Col: 0 1 2 3 4 Row --- 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 r8to_test(): Normal end of execution. Wed Oct 8 08:50:36 2025