>> st_io_test 29-Nov-2008 14:28:47 ST_IO_TEST: MATLAB version Test routines in the ST_IO library. ST_IO_TEST01 ST_HEADER_WRITE writes the header of an ST file; ST_DATA_WRITE writes the data of an ST file. ST header information: Number of rows = 5 Number of columns = 5 Number of nonzeros = 11 TEST01 matrix data to be written to a file: 1 4 0 51.00000000 2 0 1 12.00000000 3 0 0 11.00000000 4 2 2 33.00000000 5 0 4 15.00000000 6 4 2 53.00000000 7 4 4 55.00000000 8 1 1 22.00000000 9 2 4 35.00000000 10 3 3 44.00000000 11 1 0 21.00000000 ST_IO_TEST01 Wrote the matrix data to "a5by5.st". SUBPAK_TEST02 ST_HEADER_READ reads the header from an ST file. ST_DATA_READ reads the data from an ST file. Read the data from "kershaw.st". ST header information: Number of rows = 4 Number of columns = 4 Number of nonzeros = 12 TEST02 matrix data read from file 1 0 0 3.00000000 2 1 0 -2.00000000 3 3 0 2.00000000 4 0 1 -2.00000000 5 1 1 3.00000000 6 2 1 -2.00000000 7 1 2 -2.00000000 8 2 2 3.00000000 9 3 2 -2.00000000 10 0 3 2.00000000 11 2 3 -2.00000000 12 3 3 3.00000000 ST_IO_TEST03 ST_SORT_A sorts an ST matrix by columns. ST header information: Number of rows = 5 Number of columns = 5 Number of nonzeros = 11 Matrix data before sorting: 1 4 0 51.00000000 2 0 1 12.00000000 3 0 0 11.00000000 4 2 2 33.00000000 5 0 4 15.00000000 6 4 2 53.00000000 7 4 4 55.00000000 8 1 1 22.00000000 9 2 4 35.00000000 10 3 3 44.00000000 11 1 0 21.00000000 Matrix data after sorting: 1 0 0 11.00000000 2 1 0 21.00000000 3 4 0 51.00000000 4 0 1 12.00000000 5 1 1 22.00000000 6 2 2 33.00000000 7 4 2 53.00000000 8 3 3 44.00000000 9 0 4 15.00000000 10 2 4 35.00000000 11 4 4 55.00000000 ST_IO_TEST: Normal end of execution. 29-Nov-2008 14:28:48 >>