08-Oct-2025 14:14:59 r8crs_test(): MATLAB version Test r8crs(). r8crs_dif2_test r8crs_dif2 sets up a second difference matrix using compressed row storage (CRS). Matrix order N = 5 The R8CRS second difference matrix: Col: 1 2 3 4 5 Row --- 1 2 -1 0 0 0 2 -1 2 -1 0 0 3 0 -1 2 -1 0 4 0 0 -1 2 -1 5 0 0 0 -1 2 r8crs_indicator_test r8crs_indicator sets up an R8SR indicator matrix; Matrix order N = 5 The R8CRS indicator matrix: Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 0 22 0 0 25 3 31 0 33 0 0 4 41 0 0 44 0 5 0 52 53 0 55 r8crs_mtv_test r8crs_mtv multiplies an R8CRS matrix transposed times a vector. Matrix order N = 5 R8CRS and R8GE products: 1: 31.8471 31.8471 2: 21.4109 21.4109 3: 17.0941 17.0941 4: 26.2589 26.2589 5: 23.799 23.799 r8crs_mv_test r8crs_mv multiplies an R8CRS matrix by a vector; Matrix order N = 5 R8CRS and R8GE products: 1: 21.5179 21.5179 2: 29.9217 29.9217 3: 44.1744 44.1744 4: 22.378 22.378 5: 119.998 119.998 r8crs_print_test r8crs_print prints a R8CRS matrix. Matrix order N = 5 The R8CRS matrix: Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 0 22 0 0 25 3 31 0 33 0 0 4 41 0 0 44 0 5 0 52 53 0 55 r8crs_print_some_test r8crs_print_some prints some of a R8CRS matrix. Matrix order N = 5 Rows 1:N, column 5 Col: 5 Row --- 1 15 2 25 3 0 4 0 5 55 r8crs_random_test r8crs_random randomizes a R8SR matrix Matrix order N = 5 The R8CRS random matrix: Col: 1 2 3 4 5 Row --- 1 0.775899 0.424605 0 0 -0.405531 2 0 0.724773 0 0 0.825898 3 -1.22463 0 1.94071 0 0 4 0.636868 0 0 0.406244 0 5 0 -0.820622 0.17276 0 -2.50699 r8crs_to_r8ge_test r8crs_to_r8ge converts an R8CRS matrix to R8GE format. Matrix order N = 5 The R8CRS matrix: Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 0 22 0 0 25 3 31 0 33 0 0 4 41 0 0 44 0 5 0 52 53 0 55 The R8GE matrix: Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 0 22 0 0 25 3 31 0 33 0 0 4 41 0 0 44 0 5 0 52 53 0 55 r8crs_zeros_test r8crs_zeros sets up a zero R8CRS matrix; Matrix order N = 5 The R8CRS zero matrix: Col: 1 2 3 4 5 Row --- 1 0 0 0 0 0 2 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 A = Compressed Column Sparse (rows = 5, cols = 5, nnz = 4 [16%]) (1, 1) -> 1 (5, 1) -> 2 (1, 3) -> 4 (2, 5) -> 3 r8ge_to_r8crs_test r8ge_to_r8crs converts a general storage (GE) matrix to compressed row storage (CRS). The R8CRS matrix: Col: 1 2 3 4 5 Row --- 1 1 0 4 0 0 2 0 0 0 0 3 3 0 0 0 0 0 4 0 0 0 0 0 5 2 0 0 0 0 r8crs_test(): Normal end of execution. 08-Oct-2025 14:14:59