Module for eigenvalue and eigenvector computations in NAFPack
Computes the eigenvalues and eigenvectors of a matrix A with A a square matrix, λ the eigenvalue, and v the eigenvector. This subroutine allows you to choose the method for computing eigenvalues and eigenvectors:
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in), | dimension(:, :) | :: | A | ||
| real(kind=dp), | intent(out), | dimension(:) | :: | lambda | ||
| real(kind=dp), | intent(out), | optional, | dimension(:, :) | :: | vp | |
| character(len=*), | intent(in), | optional | :: | method | ||
| integer, | intent(in), | optional | :: | k |