|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Matrix Format of the matrix file|
|See also: Format of the sparse matrix file, Format of the Vector File|
Format of the matrix file
The first line defines the index of the lower and upper row; the second line specifies the lower and upper column of the matrix extract. The following lines contain the elements of the specified matrix area, one line per row. The matrix elements may be stored in any format and must be separated by at least one blank.
The following example shows a matrix part which comprises the first four columns of the rows three to eight:
3 8 1 4 0.0 0.2 0.3 0.22 1 2 0.2 -0.9 0.8877 1e-2 0.55 -55.66 3.3 -3.3 -4.4 -0.0002 12.3 23.9 7.00 7 10.883 0 -8 0.992