19-May-2023 14:38:10 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: 26.7452 26.7452 2: 53.6134 53.6134 3: 61.3317 61.3317 4: 7.60817 7.60817 5: 58.063 58.063 r8crs_mv_test r8crs_mv multiplies an R8CRS matrix by a vector; Matrix order N = 5 R8CRS and R8GE products: 1: 25.8243 25.8243 2: 29.9724 29.9724 3: 55.1563 55.1563 4: 55.5641 55.5641 5: 117.442 117.442 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 2.03928 0.661619 0 0 -0.240866 2 0 1.62629 0 0 1.97348 3 -0.379306 0 -0.721061 0 0 4 1.47982 0 0 -1.97447 0 5 0 -0.72803 -0.0456032 0 1.13221 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. 19-May-2023 14:38:10