08-Oct-2025 16:01:04 slap_IO_TEST(): MATLAB/Octave version 6.4.0 Test slap_IO(). slap_IO_TEST01 slap_FILE_WRITE writes a matrix in SLAP Triad format to a slap sparse matrix file. The slap data to be written to the file. slap Sparse Matrix File Header: N, the matrix order = 5 NELT, the number of nonzeros stored = 11 ISYM, 1 if symmetric storage used = 0 IRHS, 1 if a right hand side included = 1 ISOLN, 1 if a solution vector included = 1 The sparse matrix Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 21 22 0 0 0 3 0 0 33 0 35 4 0 0 0 44 0 5 51 0 53 0 55 slap right hand side vector: 1: 110 2: 65 3: 274 4: 176 5: 485 slap solution vector: 1: 1 2: 2 3: 3 4: 4 5: 5 Wrote the matrix data to "a5by5.slap" slap_IO_TEST02 slap_FILE_READ reads a matrix from a SLAP sparse matrix file into slap Triad format. line = 5 1 51 x = 5 1 51 count = 3 line = 1 2 12 x = 1 2 12 count = 3 line = 1 1 11 x = 1 1 11 count = 3 line = 3 3 33 x = 3 3 33 count = 3 line = 1 5 15 x = 1 5 15 count = 3 line = 5 3 53 x = 5 3 53 count = 3 line = 5 5 55 x = 5 5 55 count = 3 line = 2 2 22 x = 2 2 22 count = 3 line = 3 5 35 x = 3 5 35 count = 3 line = 4 4 44 x = 4 4 44 count = 3 line = 2 1 21 x = 2 1 21 count = 3 ios = 0 ios = 0 Read the matrix data from "a5by5.slap" The slap data read from the file. slap Sparse Matrix File Header: N, the matrix order = 5 NELT, the number of nonzeros stored = 11 ISYM, 1 if symmetric storage used = 0 IRHS, 1 if a right hand side included = 1 ISOLN, 1 if a solution vector included = 1 The sparse matrix Col: 1 2 3 4 5 Row --- 1 11 12 0 0 15 2 21 22 0 0 0 3 0 0 33 0 35 4 0 0 0 44 0 5 51 0 53 0 55 slap right hand side vector: 1: 110 2: 65 3: 274 4: 176 5: 485 slap solution vector: 1: 1 2: 2 3: 3 4: 4 5: 5 slap_IO_TEST03 slap_FILE_WRITE writes a matrix in SLAP Triad format to a slap sparse matrix file. In this example, symmetric storage is used. The slap data to be written to the file. slap Sparse Matrix File Header: N, the matrix order = 5 NELT, the number of nonzeros stored = 9 ISYM, 1 if symmetric storage used = 1 IRHS, 1 if a right hand side included = 1 ISOLN, 1 if a solution vector included = 1 The sparse matrix Col: 1 2 3 4 5 Row --- 1 11 0 31 0 51 2 0 22 0 0 0 3 31 0 33 43 0 4 0 0 43 44 54 5 51 0 0 54 55 slap right hand side vector: 1: 359 2: 44 3: 302 4: 575 5: 542 slap solution vector: 1: 1 2: 2 3: 3 4: 4 5: 5 Wrote the matrix data to "a5by5_sym.slap" slap_IO_TEST04 slap_FILE_READ reads a matrix from a SLAP sparse matrix file into slap Triad format. In this example, symmetric storage is used. line = 1 1 11 x = 1 1 11 count = 3 line = 3 1 31 x = 3 1 31 count = 3 line = 5 1 51 x = 5 1 51 count = 3 line = 2 2 22 x = 2 2 22 count = 3 line = 3 3 33 x = 3 3 33 count = 3 line = 4 3 43 x = 4 3 43 count = 3 line = 4 4 44 x = 4 4 44 count = 3 line = 5 4 54 x = 5 4 54 count = 3 line = 5 5 55 x = 5 5 55 count = 3 ios = 0 ios = 0 Read the matrix data from "a5by5_sym.slap" The slap data read from the file. slap Sparse Matrix File Header: N, the matrix order = 5 NELT, the number of nonzeros stored = 9 ISYM, 1 if symmetric storage used = 1 IRHS, 1 if a right hand side included = 1 ISOLN, 1 if a solution vector included = 1 The sparse matrix Col: 1 2 3 4 5 Row --- 1 11 0 31 0 51 2 0 22 0 0 0 3 31 0 33 43 0 4 0 0 43 44 54 5 51 0 0 54 55 slap right hand side vector: 1: 359 2: 44 3: 302 4: 575 5: 542 slap solution vector: 1: 1 2: 2 3: 3 4: 4 5: 5 slap_IO_TEST(): Normal end of execution. 08-Oct-2025 16:01:04