18-Feb-2019 08:44:49 table_io_test MATLAB version Test table_io. R8MAT_UNIFORM_01_TEST R8MAT_UNIFORM_01 computes a random R8MAT. Initial seed is 123456789 Uniform R8MAT: Col: 1 2 3 4 Row 1 0.218418 0.0661187 0.0617272 0.00183837 2 0.956318 0.257578 0.449539 0.897504 3 0.829509 0.109957 0.401306 0.350752 4 0.561695 0.043829 0.754673 0.0945448 5 0.415307 0.633966 0.797287 0.0136169 R8VEC_UNIFORM_01 R8VEC_UNIFORM_01 returns a random R8VEC with entries in [ 0.0, 1.0 ] Input SEED = 123456789 Random R8VEC: 1: 0.218418 2: 0.956318 3: 0.829509 4: 0.561695 5: 0.415307 6: 0.0661187 7: 0.257578 8: 0.109957 9: 0.043829 10: 0.633966 Input SEED = 1361431000 Random R8VEC: 1: 0.0617272 2: 0.449539 3: 0.401306 4: 0.754673 5: 0.797287 6: 0.00183837 7: 0.897504 8: 0.350752 9: 0.0945448 10: 0.0136169 Input SEED = 29242052 Random R8VEC: 1: 0.859097 2: 0.840847 3: 0.123104 4: 0.00751236 5: 0.260303 6: 0.912484 7: 0.113664 8: 0.351629 9: 0.822887 10: 0.267132 R8VEC_WRITE_TEST R8VEC_WRITE writes an R8VEC file. R8VEC data: 1: 0.218418 2: 0.956318 3: 0.829509 4: 0.561695 5: 0.415307 6: 0.0661187 7: 0.257578 8: 0.109957 9: 0.043829 10: 0.633966 Wrote the file "r8vec_10.txt". TEST01 R8MAT_WRITE writes an R8MAT file. Spatial dimension M = 5 Number of points N = 20 5x5 portion of the data written to file: Col: 1 2 3 4 5 Row 1 101 102 103 104 105 2 201 202 203 204 205 3 301 302 303 304 305 4 401 402 403 404 405 5 501 502 503 504 505 5x5 portion of the TRANSPOSED data: Row: 1 2 3 4 5 Col 1 101.000000 201.000000 301.000000 401.000000 501.000000 2 102.000000 202.000000 302.000000 402.000000 502.000000 3 103.000000 203.000000 303.000000 403.000000 503.000000 4 104.000000 204.000000 304.000000 404.000000 504.000000 5 105.000000 205.000000 305.000000 405.000000 505.000000 Wrote the file "r8mat_05_00020.txt". TEST02 For an R8MAT file, R8MAT_HEADER_READ reads the header information (about the dimensions of the data); R8MAT_DATA_READ reads the data. Read the header of r8mat_05_00020.txt Spatial dimension M = 5 Number of points N = 20 Read the data in r8mat_05_00020.txt 5x5 portion of data read from file: Col: 1 2 3 4 5 Row 1 101 102 103 104 105 2 201 202 203 204 205 3 301 302 303 304 305 4 401 402 403 404 405 5 501 502 503 504 505 TEST03 I4MAT_WRITE writes an I4MAT file. Spatial dimension M = 5 Number of points N = 20 5x5 portion of the data written to file: Col: 1 2 3 4 5 Row 1 101 102 103 104 105 2 201 202 203 204 205 3 301 302 303 304 305 4 401 402 403 404 405 5 501 502 503 504 505 Wrote the file "i4mat_05_00020.txt". TEST04 For an I4MAT file, I4MAT_HEADER_READ reads the header information (about the dimensions of the data); I4MAT_DATA_READ reads the data. Read the header of i4mat_05_00020.txt Spatial dimension M = 5 Number of points N = 20 Read the data in i4mat_05_00020.txt 5x5 portion of data read from file: Col: 1 2 3 4 5 Row 1 101 102 103 104 105 2 201 202 203 204 205 3 301 302 303 304 305 4 401 402 403 404 405 5 501 502 503 504 505 TEST06 I4MAT_BORDER_CUT cuts off the border; I4MAT_BORDER_ADD adds a zero border; Spatial dimension M = 6 Number of points N = 4 Initial dataset: Col: 1 2 3 4 Row 1 11 12 13 14 2 21 22 23 24 3 31 32 33 34 4 41 42 43 44 5 51 52 53 54 6 61 62 63 64 "Cut" dataset: Col: 1 2 Row 1 22 23 2 32 33 3 42 43 4 52 53 "Added" dataset: Col: 1 2 3 4 Row 1 0 0 0 0 2 0 22 23 0 3 0 32 33 0 4 0 42 43 0 5 0 52 53 0 6 0 0 0 0 table_io_test Normal end of execution. 18-Feb-2019 08:44:49