Jump to content

Talk:Jacobi eigenvalue algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Issso (talk | contribs) at 08:47, 21 August 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Hi all! I've just tried to use the algorithm, but there's a BUG! The maxind method is totaly wrong. A correct one would be:
int maxind(int k)
{
int m = 1;
for (int i = 2; i <= n; i++)
if(abs(S[k][i]) > abs(S[k][m])) m = i;
return m;
}
I hope there are no more errors...