MODE Specification (MATRIX-END MATRIX command)

MODE specifies the format of the matrix to be written. If MODE is not specified, the default is RECTANGULAR.

RECTANGULAR. Write the entire matrix. Each row starts a new record, and all of the values in that row are present in that and (possibly) subsequent records. This is the default if the MODE specification is omitted.

TRIANGULAR. Write only the lower triangular entries and the main diagonal. Each row begins a new record and may span more than one record. This mode may save file space.

  • A matrix written with MODE = TRIANGULAR must be square, but it need not be symmetric. If it is not, values in the upper triangle are not written.
  • A matrix written with MODE = TRIANGULAR may be read with MODE = SYMMETRIC.