



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Iterative Methods and the FMM
Ax=b → x=A-1b
Ax =b
d = eigs(A) returns a vector of A's six largest magnitude eigenvalues.[V,D] = eigs(A) returns a diagonal matrix D of A's six largest magnitude eigenvalues and a matrix V whose columns are the corresponding eigenvectors. [V,D,flag] = eigs(A) also returns a convergence flag. If flag is 0 then all the eigenvalues converged; otherwise not all converged. eigs(A,B) solves the generalized eigenvalue problem AV == BVD. B must be symmetric (or Hermitian) positive definite and the same size as A. eigs(A,[],...) indicates the standard eigenvalue problem AV == V*D. eigs(A,k) and eigs(A,B,k) return the k largest magnitude eigenvalues. eigs(A,k,sigma) and eigs(A,B,k,sigma) return k eigenvalues based on sigma, which can take any of the following values:scalar (real or complex, including 0)The eigenvalues closest to sigma.