The EIGENQL function computes the eigenvalues and eigenvectors of an n by n real, symmetric array using Householder reductions and the QL method with implicit shifts. The result is an n -element vector containing the eigenvalues.
Set this keyword to return eigenvalues in ascending order (smallest to largest). If not set or set to zero, eigenvalues are returned in descending order (largest to smallest). The eigenvectors are correspondingly reordered.
Set this keyword equal to a named variable that will contain the computed eigenvectors in an n by n array. The i th row of the returned array contains the i th eigenvalue. This keyword must be initialized to a non- zero value before calling EIGENQL if the eigenvectors are desired. If no variable is supplied, the array will not be computed.
Use this keyword to specify a named variable that will contain the residuals for each eigenvalue/eigenvector ( l /x) pair. The residual is based on the definition Ax - ( l )x = 0 and is an array of the same size as A and the same type as Result. The rows of this array correspond to the residuals for each eigenvalue/eigenvector pair. This keyword must be initialized to a non- zero value before calling EIGENQL if the residuals are desired.
The RESIDUAL array has the same dimensions as the input array and the same type as the result. The residuals are contained in the rows of the RESIDUAL array. All residual values should be floating-point zeros.