08-Jan-2022 09:08:50 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: 50.347 50.347 2: 62.5868 62.5868 3: 37.7056 37.7056 4: 40.1885 40.1885 5: 69.6454 69.6454 r8crs_mv_test r8crs_mv multiplies an R8CRS matrix by a vector; Matrix order N = 5 R8CRS and R8GE products: 1: 18.8883 18.8883 2: 30.2492 30.2492 3: 21.0708 21.0708 4: 46.1295 46.1295 5: 96.5355 96.5355 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 -1.34989 3.03492 0 0 0.725404 2 0 -0.0630549 0 0 0.714743 3 -0.204966 0 -0.124144 0 0 4 1.4897 0 0 1.40903 0 5 0 1.41719 0.671497 0 -1.20749 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 = (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-Jan-2022 09:08:50