Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
The previously described program was used to read from (and write to) an ASCII file. The input consisted of the following three matrices:
1.2345678901234 2.3456 3.4567 4.5678 5.6789 6.123456767 7.89789789 1.1 2.2 3. 4 0 6.666 7.777 0 1 2 3 4 5 6 1 2 3 4 5 6 123.45678911234567 456.78 890.12 234.56789123456789 1.23 456.78 8.90 2.34 12.345 678.90 123.56 78.9012 567.89 567.99 345.65 12.3435
The output produced by the program was:
The first Matrix is 3 by 7 The second Matrix is 3 by 2 The third Matrix is 4 by 4 Axis Lengths: [3, 7] (NB: Matrix in Row/Column order) [1.23456789012, 2.3456, 3.4567, 4.5678, 5.6789, 6.123456767, 7.89789789 1.1, 2.2, 3, 4, 0, 6.666, 7.777 0, 1, 2, 3, 4, 5, 6] Axis Lengths: [3, 2] (NB: Matrix in Row/Column order) [1, 2 3, 4 5, 6] Axis Lengths: [4, 4] (NB: Matrix in Row/Column order) [123.456787109, 456.779998779, 890.119995117, 234.567886353 1.23000001907, 456.779998779, 8.89999961853, 2.33999991417 12.345000267, 678.900024414, 123.559997559, 78.9011993408 567.890014648, 567.989990234, 345.649993896, 12.3435001373]
The file written by the program looked like this (the first line is shown on two lines because of page-width limitations):
1.23456788063 2.34559988976 3.45670008659 4.56780004501 5.67889976501 6.12345695496 7.89789772034 1.10000002384 2.20000004768 3 4 0 6.66599988937 7.77699995041 0 1 2 3 4 5 6