eigen_max Subroutine

public subroutine eigen_max(A, v, lambda, maxIter, err_v, v_0)

Given the matrix A, computes the eigenvector v associated to the eivenvalue of maximum modulus lambda using the power method.

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: A(:,:)

Symmetric matrix

real, intent(out) :: v(size(A,1))

Eigenvector

real, intent(out) :: lambda

Eigenvalue

integer, intent(in) :: maxIter

Maximum number of iterations

real, intent(in) :: err_v

Precision for the stop criterion

real, intent(in) :: v_0(size(A,1))

Initial vector for the iteration


Called by

proc~~eigen_max~~CalledByGraph proc~eigen_max eigen_max program~test_eigenvectors test_eigenvectors program~test_eigenvectors->proc~eigen_max