Next: 36.22 Writing a matrix Up: 36 MATRIX OPERATIONS Previous: 36.20 Assigning matrix elements

36.21 Reading a matrix from the input file (READ)

READ,name,[type,[subtype]],[symmetry]
values

Reads a square matrix (symmetry 1) from input. The values can be in free format, but their total number must be correct. Comment lines starting with '#', '*', or '!' are skipped. The matrix can be read from another ASCII file by including this into the input using the INCLUDE command (see section 2.2). type is a string which can be used to assign a matrix type. If appropriate, this should be any of the ones used in the LOAD command. In addition, SUBTYPE can be specified if necessary. This describes, e.g., the type of orbitals or density matrices (e.g., for natural orbitals TYPE=ORB and SUBTYPE=NATURAL). The matrix symmetry needs to be given only if it is not equal to 1.



P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002