15-May-2025 20:34:01 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: 67.9204 67.9204 2: 65.2517 65.2517 3: 71.0518 71.0518 4: 40.029 40.029 5: 71.4466 71.4466 r8crs_mv_test r8crs_mv multiplies an R8CRS matrix by a vector; Matrix order N = 5 R8CRS and R8GE products: 1: 8.92429 8.92429 2: 7.91414 7.91414 3: 14.0697 14.0697 4: 54.8632 54.8632 5: 20.6518 20.6518 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.382608 3.91741 0 0 2.13568 2 0 1.38957 0 0 -0.329034 3 0.167018 0 2.31612 0 0 4 0.704099 0 0 -0.258854 0 5 0 0.0192057 -1.33092 0 -1.01001 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. 15-May-2025 20:34:01