Next: 36.11 Generating natural orbitals Up: 36 MATRIX OPERATIONS Previous: 36.9 Transforming density matrices

36.10 Diagonalizing a matrix DIAG

DIAG,eigvec,eigval,matrix[,iprint]

Diagonalizes matrix. The eigenvectors and eigenvalues are stored internally with associated names eigvec and eigval, respectively (arbitrary strings of up to 16 characters). The if iprint.gt.0, the eigenvalues are printed. If iprint.gt.1, also the eigenvectors are printed.



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