Subversion Repositories gelsvn

Rev

Rev 223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 223 Rev 379
Line 200... Line 200...
200
*/ 
200
*/ 
201
//@{ 
201
//@{ 
202
void RQfact(const CMatrix& A,CMatrix& R, CMatrix& Q);
202
void RQfact(const CMatrix& A,CMatrix& R, CMatrix& Q);
203
//@}
203
//@}
204
 
204
 
-
 
205
/**
-
 
206
\name Find eigensolutions of a symmetric real matrix.
-
 
207
This function accepts a real symmetric matrix Q and a vector b.
-
 
208
When the function returns, the eigenvalues of the matrix Q will be stored in b and
-
 
209
the eigenvectors form the columns of Q. This function is based on the
-
 
210
Lapack function dsyev, and returns its info code. A code of 0 indicates
-
 
211
success, and a code < 0 indicates an error. Probably Q is not a real symmetric matrix.
-
 
212
If the code is > 0 "the algorithm failed  to  converge;  code  off-diagonal  elements  
-
 
213
of an intermediate tridiagonal form did not converge to zero." Presumably this means that 
-
 
214
code contains the number of eigenvalues which are ok. 
-
 
215
\author Andreas B¾rentzen.
-
 
216
*/
-
 
217
//@{
-
 
218
int EigenSolutionsSym(CMatrix& Q, CVector& b);
-
 
219
//@}
205
}
220
}
206
 
221
 
207
#endif // !defined(LAPACKFUNC_H_HAA_AGUST_2001)
222
#endif // !defined(LAPACKFUNC_H_HAA_AGUST_2001)