Subversion Repositories gelsvn

Rev

Rev 636 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 636 Rev 659
Line 214... Line 214...
214
 
214
 
215
/**
215
/**
216
\name Find eigensolutions of a symmetric real matrix.
216
\name Find eigensolutions of a symmetric real matrix.
217
This function accepts a real symmetric matrix Q and a vector b.
217
This function accepts a real symmetric matrix Q and a vector b.
218
When the function returns, the eigenvalues of the matrix Q will be stored in b and
218
When the function returns, the eigenvalues of the matrix Q will be stored in b and
219
the eigenvectors form the columns of Q. This function is based on the
219
the eigenvectors form the rows of Q. This function is based on the
220
Lapack function dsyev, and returns its info code. A code of 0 indicates
220
Lapack function dsyev, and returns its info code. A code of 0 indicates
221
success, and a code < 0 indicates an error. Probably Q is not a real symmetric matrix.
221
success, and a code < 0 indicates an error. Probably Q is not a real symmetric matrix.
222
If the code is > 0 "the algorithm failed  to  converge;  code  off-diagonal  elements  
222
If the code is > 0 "the algorithm failed  to  converge;  code  off-diagonal  elements  
223
of an intermediate tridiagonal form did not converge to zero." Presumably this means that 
223
of an intermediate tridiagonal form did not converge to zero." Presumably this means that 
224
code contains the number of eigenvalues which are ok. 
224
code contains the number of eigenvalues which are ok.