nitsmistry
Programmer
Hi,
I'm having a bit of a problem with a project i'm undertaking and i was wondering if anyone could help. The problem is:
Write a Fortran program to implement the Jacobi algorithm that includes the following steps.
(a) Find the off-diagonal element a[pq] of largest magnitude.
(b) Compute the Frobenius norm of the off-diagonal elements, off(A), and test whether convergence has been achieved, by setting the tolerance = 0.0001 and checking
(off(A)/frob(A)) < tolerance.
(c) Compute (theta), cos(theta) , sin(theta).
(d) Set A(n+1) = Rn(Transpose)ARn ; n = 1, 2, ....,N.
(e) When convergence is achieved, print out all the eigenvalues.
(f) Compute matrix P = n=1:N of Rn
(g) Print out all the eigenvectors corresponding to each eigenvalue.
Thanks for your time
I'm having a bit of a problem with a project i'm undertaking and i was wondering if anyone could help. The problem is:
Write a Fortran program to implement the Jacobi algorithm that includes the following steps.
(a) Find the off-diagonal element a[pq] of largest magnitude.
(b) Compute the Frobenius norm of the off-diagonal elements, off(A), and test whether convergence has been achieved, by setting the tolerance = 0.0001 and checking
(off(A)/frob(A)) < tolerance.
(c) Compute (theta), cos(theta) , sin(theta).
(d) Set A(n+1) = Rn(Transpose)ARn ; n = 1, 2, ....,N.
(e) When convergence is achieved, print out all the eigenvalues.
(f) Compute matrix P = n=1:N of Rn
(g) Print out all the eigenvectors corresponding to each eigenvalue.
Thanks for your time