The Lanczos and Conjugate Gradient Algorithms

Total Page:16

File Type:pdf, Size:1020Kb

The Lanczos and Conjugate Gradient Algorithms The Lanczos and conjugate gradient algorithms G´erard MEURANT October, 2008 1 The Lanczos algorithm 2 The Lanczos algorithm in finite precision 3 The nonsymmetric Lanczos algorithm 4 The Golub–Kahan bidiagonalization algorithm 5 The block Lanczos algorithm 6 The conjugate gradient algorithm The Lanczos algorithm Let A be a real symmetric matrix of order n The Lanczos algorithm constructs an orthogonal basis of a Krylov subspace spanned by the columns of k−1 Kk = v, Av, ··· , A v Gram–Schmidt orthogonalization (Arnoldi) v 1 = v j i hi,j = (Av , v ), i = 1,..., j j j j X i v¯ = Av − hi,j v i=1 j hj+1,j = kv¯ k, if hj+1,j = 0 then stop v¯j v j+1 = hj+1,j k+1 k T AVk = Vk Hk + hk+1,k v (e ) Hk is an upper Hessenberg matrix with elements hi,j Note that hi,j = 0, j = 1,..., i − 2, i > 2 T Hk = Vk AVk If A is symmetric, Hk is symmetric and therefore tridiagonal Hk = Jk j We also have AVn = VnJn, if no v is zero before step n since v n+1 = 0 because v n+1 is a vector orthogonal to a set of n orthogonal vectors in a space of dimension n Otherwise there exists an m < n for which AVm = VmJm and the algorithm has found an invariant subspace of A, the eigenvalues of Jm being eigenvalues of A starting from a vector v˜1 = v/kvk 1 1 2 1 1 α1 = (Av , v ), v˜ = Av − α1v and then, for k = 2, 3,... k ηk−1 = kv˜ k v˜k v k = ηk−1 k k k T k αk = (v , Av ) = (v ) Av k+1 k k k−1 v˜ = Av − αk v − ηk−1v A variant of the Lanczos algorithm has been proposed by Chris Paige to improve the local orthogonality in finite precision computations k T k k−1 αk = (v ) (Av − ηk−1v ) k+1 k k−1 k v˜ = (Av − ηk−1v ) − αk v Since we can suppose that ηi 6= 0, the tridiagonal Jacobi matrix Jk (k) has real and simple eigenvalues which we denote by θj They are known as the Ritz values and are the approximations of the eigenvalues of A given by the Lanczos algorithm Theorem Let χk (λ) be the determinant of Jk − λI (which is a monic polynomial), then k 1 k−1 χk−1(λ) v = pk (A)v , pk (λ) = (−1) η1 ··· ηk−1 The polynomials pk of degree k − 1 are called the normalized Lanczos polynomials The polynomials pk satisfy a scalar three–term recurrence ηk pk+1(λ) = (λ − αk )pk (λ) − ηk−1pk−1(λ), k = 1, 2,... with initial conditions, p0 ≡ 0, p1 ≡ 1 Theorem Consider the Lanczos vectors v k . There exists a measure α such that Z b k l (v , v ) = hpk , pl i = pk (λ)pl (λ)dα(λ) a where a ≤ λ1 = λmin and b ≥ λn = λmax , λmin and λmax being the smallest and largest eigenvalues of A Proof. Let A = QΛQT be the spectral decomposition of A j T Since the vectors v are orthonormal and pk (A) = Qpk (Λ)Q , we have k l 1 T T 1 (v , v ) = (v ) pk (A) pl (A)v 1 T T T 1 = (v ) Qpk (Λ)Q Qpl (Λ)Q v 1 T T 1 = (v ) Qpk (Λ)pl (Λ)Q v n X 2 = pk (λj )pl (λj )[ˆvj ] , j=1 where vˆ = QT v 1 The last sum can be written as an integral for a measure α which is piecewise constant 0 if λ < λ 1 Pi 2 α(λ) = j=1[ˆvj ] if λi ≤ λ < λi+1 Pn 2 j=1[ˆvj ] if λn ≤ λ The measure α has a finite number of points of increase at the (unknown) eigenvalues of A The Lanczos algorithm can be used to solve linear systems Ax = c when A is symmetric and c is a given vector Let x0 be a given starting vector and r 0 = c − Ax0 be the corresponding residual Let v = v 1 = r 0/kr 0k k 0 k x = x + Vk y We request the residual r k = c − Axk to be orthogonal to the Krylov subspace of dimension k T k T T 0 T k T 0 k Vk r = Vk c − Vk Ax − Vk AVk y = Vk r − Jk y = 0 0 0 1 T 0 0 1 But, r = kr kv and Vk r = kr ke k 0 1 Jk y = kr ke The Lanczos algorithm in finite precision arithmetic It is well known since Lanczos that the basis vectors v k may loose their orthogonality. Moreover multiple copies of the already converged Ritz values appear again and again Consider an example devised by Z. Strakoˇs: a diagonal matrix with elements i − 1 λ = λ + (λ − λ )ρn−i , i = 1,..., n i 1 n − 1 n 1 We choose n = 30, λ1 = 0.1, λn = 100, ρ = 0.9 5 0 −5 −10 −15 −20 30 25 30 20 25 15 20 10 15 10 5 5 0 0 ˜ T ˜ log10(|V30V30|) for the Strakos30 matrix In this example the first Ritz value to converge is the largest one λn k 1 Then vn = pk (λn)vn must converge to zero (in exact arithmetic). What happens? |Log ∆ v|, i=30 10 0 −2 −4 −6 −8 −10 −12 −14 −16 −18 −20 0 5 10 15 20 25 30 k Strakos30, log10(|v30|) with (dashed), without (solid) reorthogonalization and their difference (dotted) More iterations |Log v|, i=30 10 0 −2 −4 −6 −8 −10 −12 −14 −16 −18 10 20 30 40 50 60 70 80 90 100 k Strakos30, log10(|v30|) with (dashed) and without reorthogonalization (solid) Distances to the largest eigenvalue of A |Log ∆ v|, i=30 10 5 0 −5 −10 −15 −20 20 40 60 80 100 120 140 k Strakos30, log10(|v30|) and the distances to the 10 largest Ritz values This behavior can be studied by looking at perturbed scalar three-term recurrences Theorem Let j be given and p˜j,k be the polynomial determined by p˜j,j−1 = 0, p˜j,j = 1 η˜k+1p˜j,k+1(λ) = (λ − α˜k )˜pj,k (λ) − η˜k p˜j,k−1(λ), k = j,... Then the computed Lanczos vector is k l k+1 1 X f v˜ =p ˜1,k+1(A)˜v + p˜l+1,k+1(A) η˜l+1 l=1 k+1 1 Note that the first term vˇ =p ˜1,k+1(A)˜v is different from what we have in exact arithmetic since the coefficients of the polynomial are the ones computed in finite precision Proposition The associated polynomial pj,k , k ≥ j is given by k−j χj,k−1(λ) pj,k (λ) = (−1) ηj+1 ··· ηk where χj,k (λ) is the determinant of Jj,k − λI,Jj,k being the tridiagonal matrix obtained from the coefficients of the second order recurrence from step j to step k, that is discarding the j − 1 first rows and columns of Jk The nonsymmetric Lanczos algorithm When the matrix A is not symmetric we cannot generally construct a vector v k+1 orthogonal to all the previous basis vectors by only using the two previous vectors v k and v k−1 Construct bi-orthogonal sequences using AT choose two starting vectors v 1 and v˜1 with (v 1, v˜1) 6= 0 normalized such that (v 1, v˜1) = 1. We set v 0 =v ˜0 = 0. Then for k = 1, 2,... k k k k−1 z = Av − ωk v − ηk−1v k T k k k−1 w = A v˜ − ωk v˜ − η˜k−1v˜ k k k k ωk = (˜v , Av ), ηk η˜k = (z , w ) zk w k v k+1 = , v˜k+1 = η˜k ηk ω1 η1 η˜1 ω2 η2 .. .. .. Jk = . η˜k−2 ωk−1 ηk−1 η˜k−1 ωk and 1 k 1 k Vk = [v ··· v ], V˜k = [˜v ··· v˜ ] Then, in matrix form k+1 k T AVk = Vk Jk +η ˜k v (e ) T ˜ ˜ T k+1 k T A Vk = Vk Jk + ηk v˜ (e ) Theorem If the nonsymmetric Lanczos algorithm does not break down with ηk η˜k being zero, the algorithm yields biorthogonal vectors such that (˜v i , v j ) = 0, i 6= j, i, j = 1, 2,... 1 k 1 1 k The vectors v ,..., v span Kk (A, v ) and v˜ ,..., v˜ span T 1 Kk (A , v˜ ). The two sequences of vectors can be written as k 1 k T 1 v = pk (A)v , v˜ =p ˜k (A )˜v where pk and p˜k are polynomials of degree k − 1 η˜k pk+1 = (λ − ωk )pk − ηk−1pk−1 ηk p˜k+1 = (λ − ωk )˜pk − η˜k−1p˜k−1 The algorithm breaks down if at some step we have (zk , w k ) = 0 Either k k I a) z = 0 and/or w = 0 If zk = 0 we can compute the eigenvalues or the solution of the linear system Ax = c. If zk 6= 0 and w k = 0, the only way to deal with this situation is to restart the algorithm I b) The more dramatic situation (“serious breakdown”) is when (zk , w k ) = 0 with zk and w k 6= 0 Need to use look–ahead strategies or restart For our purposes we will use the nonsymmetric Lanczos algorithm with a symmetric matrix! We can choose q k k ηk = ±η˜k = ± |(z , w )| k k with for instance, ηk ≥ 0 and η˜k = sgn[(z , w )] ηk .
Recommended publications
  • A Parallel Lanczos Algorithm for Eigensystem Calculation
    A Parallel Lanczos Algorithm for Eigensystem Calculation Hans-Peter Kersken / Uwe Küster Eigenvalue problems arise in many fields of physics and engineering science for example in structural engineering from prediction of dynamic stability of structures or vibrations of a fluid in a closed cavity. Their solution consumes a large amount of memory and CPU time if more than very few (1-5) vibrational modes are desired. Both make the problem a natural candidate for parallel processing. Here we shall present some aspects of the solution of the generalized eigenvalue problem on parallel architectures with distributed memory. The research was carried out as a part of the EC founded project ACTIVATE. This project combines various activities to increase the performance vibro-acoustic software. It brings together end users form space, aviation, and automotive industry with software developers and numerical analysts. Introduction The algorithm we shall describe in the next sections is based on the Lanczos algorithm for solving large sparse eigenvalue problems. It became popular during the past two decades because of its superior convergence properties compared to more traditional methods like inverse vector iteration. Some experiments with an new algorithm described in [Bra97] showed that it is competitive with the Lanczos algorithm only if very few eigenpairs are needed. Therefore we decided to base our implementation on the Lanczos algorithm. However, when implementing the Lanczos algorithm one has to pay attention to some subtle algorithmic details. A state of the art algorithm is described in [Gri94]. On parallel architectures further problems arise concerning the robustness of the algorithm. We implemented the algorithm almost entirely by using numerical libraries.
    [Show full text]
  • Exact Diagonalization of Quantum Lattice Models on Coprocessors
    Exact diagonalization of quantum lattice models on coprocessors T. Siro∗, A. Harju Aalto University School of Science, P.O. Box 14100, 00076 Aalto, Finland Abstract We implement the Lanczos algorithm on an Intel Xeon Phi coprocessor and compare its performance to a multi-core Intel Xeon CPU and an NVIDIA graphics processor. The Xeon and the Xeon Phi are parallelized with OpenMP and the graphics processor is programmed with CUDA. The performance is evaluated by measuring the execution time of a single step in the Lanczos algorithm. We study two quantum lattice models with different particle numbers, and conclude that for small systems, the multi-core CPU is the fastest platform, while for large systems, the graphics processor is the clear winner, reaching speedups of up to 7.6 compared to the CPU. The Xeon Phi outperforms the CPU with sufficiently large particle number, reaching a speedup of 2.5. Keywords: Tight binding, Hubbard model, exact diagonalization, GPU, CUDA, MIC, Xeon Phi 1. Introduction hopping amplitude is denoted by t. The tight-binding model describes free electrons hopping around a lattice, and it gives a In recent years, there has been tremendous interest in utiliz- crude approximation of the electronic properties of a solid. The ing coprocessors in scientific computing, including condensed model can be made more realistic by adding interactions, such matter physics[1, 2, 3, 4]. Most of the work has been done as on-site repulsion, which results in the well-known Hubbard on graphics processing units (GPU), resulting in impressive model[9]. In our basis, however, such interaction terms are di- speedups compared to CPUs in problems that exhibit high data- agonal, rendering their effect on the computational complexity parallelism and benefit from the high throughput of the GPU.
    [Show full text]
  • An Implementation of a Generalized Lanczos Procedure for Structural Dynamic Analysis on Distributed Memory Computers
    NU~IERICAL ANALYSIS PROJECT AUGUST 1992 MANUSCRIPT ,NA-92-09 An Implementation of a Generalized Lanczos Procedure for Structural Dynamic Analysis on Distributed Memory Computers . bY David R. Mackay and Kincho H. Law NUMERICAL ANALYSIS PROJECT COMPUTER SCIENCE DEPARTMENT STANFORD UNIVERSITY STANFORD, CALIFORNIA 94305 An Implementation of a Generalized Lanczos Procedure for Structural Dynamic Analysis on Distributed Memory Computers’ David R. Mackay and Kincho H. Law Department of Civil Engineering Stanford University Stanford, CA 94305-4020 Abstract This paper describes a parallel implementation of a generalized Lanczos procedure for struc- tural dynamic analysis on a distributed memory parallel computer. One major cost of the gener- alized Lanczos procedure is the factorization of the (shifted) stiffness matrix and the forward and backward solution of triangular systems. In this paper, we discuss load assignment of a sparse matrix and propose a strategy for inverting the principal block submatrix factors to facilitate the forward and backward solution of triangular systems. We also discuss the different strategies in the implementation of mass matrix-vector multiplication on parallel computer and how they are used in the Lanczos procedure. The Lanczos procedure implemented includes partial and external selective reorthogonalizations and spectral shifts. Experimental results are presented to illustrate the effectiveness of the parallel generalized Lanczos procedure. The issues of balancing the com- putations among the basic steps of the Lanczos procedure on distributed memory computers are discussed. IThis work is sponsored by the National Science Foundation grant number ECS-9003107, and the Army Research Office grant number DAAL-03-91-G-0038. Contents List of Figures ii .
    [Show full text]
  • Lanczos Vectors Versus Singular Vectors for Effective Dimension Reduction Jie Chen and Yousef Saad
    1 Lanczos Vectors versus Singular Vectors for Effective Dimension Reduction Jie Chen and Yousef Saad Abstract— This paper takes an in-depth look at a technique for a) Latent Semantic Indexing (LSI): LSI [3], [4] is an effec- computing filtered matrix-vector (mat-vec) products which are tive information retrieval technique which computes the relevance required in many data analysis applications. In these applications scores for all the documents in a collection in response to a user the data matrix is multiplied by a vector and we wish to perform query. In LSI, a collection of documents is represented as a term- this product accurately in the space spanned by a few of the major singular vectors of the matrix. We examine the use of the document matrix X = [xij] where each column vector represents Lanczos algorithm for this purpose. The goal of the method is a document and xij is the weight of term i in document j. A query identical with that of the truncated singular value decomposition is represented as a pseudo-document in a similar form—a column (SVD), namely to preserve the quality of the resulting mat-vec vector q. By performing dimension reduction, each document xj product in the major singular directions of the matrix. The T T (j-th column of X) becomes Pk xj and the query becomes Pk q Lanczos-based approach achieves this goal by using a small in the reduced-rank representation, where P is the matrix whose number of Lanczos vectors, but it does not explicitly compute k column vectors are the k major left singular vectors of X.
    [Show full text]
  • Restarted Lanczos Bidiagonalization for the SVD in Slepc
    Scalable Library for Eigenvalue Problem Computations SLEPc Technical Report STR-8 Available at http://slepc.upv.es Restarted Lanczos Bidiagonalization for the SVD in SLEPc V. Hern´andez J. E. Rom´an A. Tom´as Last update: June, 2007 (slepc 2.3.3) Previous updates: { About SLEPc Technical Reports: These reports are part of the documentation of slepc, the Scalable Library for Eigenvalue Problem Computations. They are intended to complement the Users Guide by providing technical details that normal users typically do not need to know but may be of interest for more advanced users. Restarted Lanczos Bidiagonalization for the SVD in SLEPc STR-8 Contents 1 Introduction 2 2 Description of the Method3 2.1 Lanczos Bidiagonalization...............................3 2.2 Dealing with Loss of Orthogonality..........................6 2.3 Restarted Bidiagonalization..............................8 2.4 Available Implementations............................... 11 3 The slepc Implementation 12 3.1 The Algorithm..................................... 12 3.2 User Options...................................... 13 3.3 Known Issues and Applicability............................ 14 1 Introduction The singular value decomposition (SVD) of an m × n complex matrix A can be written as A = UΣV ∗; (1) ∗ where U = [u1; : : : ; um] is an m × m unitary matrix (U U = I), V = [v1; : : : ; vn] is an n × n unitary matrix (V ∗V = I), and Σ is an m × n diagonal matrix with nonnegative real diagonal entries Σii = σi for i = 1;:::; minfm; ng. If A is real, U and V are real and orthogonal. The vectors ui are called the left singular vectors, the vi are the right singular vectors, and the σi are the singular values. In this report, we will assume without loss of generality that m ≥ n.
    [Show full text]
  • A Parallel Implementation of Lanczos Algorithm in SVD Computation
    A Parallel Implementation of Lanczos Algorithm in SVD 1 Computation SRIKANTH KALLURKAR Abstract This work presents a parallel implementation of Lanczos algorithm for SVD Computation using MPI. We investigate exe- cution time as a function of matrix sparsity, matrix size, and the number of processes. We observe speedup and slowdown for parallelized Lanczos algorithm. Reasons for the speedups and the slowdowns are discussed in the report. I. INTRODUCTION Singular Value Decomposition (SVD) is an important classical technique which is used for many pur- poses [8]. Deerwester et al [5] described a new method for automatic indexing and retrieval using SVD wherein a large term by document matrix was decomposed into a set of 100 orthogonal factors from which the original matrix was approximated by linear combinations. The method was called Latent Semantic Indexing (LSI). In addition to a significant problem dimensionality reduction it was believed that the LSI had the potential to improve precision and recall. Studies [11] have shown that LSI based retrieval has not produced conclusively better results than vector-space modeled retrieval. Recently, however, there is a renewed interest in SVD based approach to Information Retrieval and Text Mining [4], [6]. The rapid increase in digital and online information has presented the task of efficient information pro- cessing and management. Standard term statistic based techniques may have potentially reached a limit for effective text retrieval. One of key new emerging areas for text retrieval is language models, that can provide not just structural but also semantic insights about the documents. Exploration of SVD based LSI is therefore a strategic research direction.
    [Show full text]
  • A High Performance Block Eigensolver for Nuclear Configuration Interaction Calculations Hasan Metin Aktulga, Md
    1 A High Performance Block Eigensolver for Nuclear Configuration Interaction Calculations Hasan Metin Aktulga, Md. Afibuzzaman, Samuel Williams, Aydın Buluc¸, Meiyue Shao, Chao Yang, Esmond G. Ng, Pieter Maris, James P. Vary Abstract—As on-node parallelism increases and the performance gap between the processor and the memory system widens, achieving high performance in large-scale scientific applications requires an architecture-aware design of algorithms and solvers. We focus on the eigenvalue problem arising in nuclear Configuration Interaction (CI) calculations, where a few extreme eigenpairs of a sparse symmetric matrix are needed. We consider a block iterative eigensolver whose main computational kernels are the multiplication of a sparse matrix with multiple vectors (SpMM), and tall-skinny matrix operations. We present techniques to significantly improve the SpMM and the transpose operation SpMMT by using the compressed sparse blocks (CSB) format. We achieve 3–4× speedup on the requisite operations over good implementations with the commonly used compressed sparse row (CSR) format. We develop a performance model that allows us to correctly estimate the performance of our SpMM kernel implementations, and we identify cache bandwidth as a potential performance bottleneck beyond DRAM. We also analyze and optimize the performance of LOBPCG kernels (inner product and linear combinations on multiple vectors) and show up to 15× speedup over using high performance BLAS libraries for these operations. The resulting high performance LOBPCG solver achieves 1.4× to 1.8× speedup over the existing Lanczos solver on a series of CI computations on high-end multicore architectures (Intel Xeons). We also analyze the performance of our techniques on an Intel Xeon Phi Knights Corner (KNC) processor.
    [Show full text]
  • Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices
    Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices Shivaram Venkataraman1 Erik Bodzsar2 Indrajit Roy Alvin AuYoung Robert S. Schreiber 1UC Berkeley, 2University of Chicago, HP Labs [email protected], ferik.bodzsar, indrajitr, alvina, [email protected] Abstract Array-based languages such as R and MATLAB provide It is cumbersome to write machine learning and graph al- an appropriate programming model to express such machine gorithms in data-parallel models such as MapReduce and learning and graph algorithms. The core construct of arrays Dryad. We observe that these algorithms are based on matrix makes these languages suitable to represent vectors and ma- computations and, hence, are inefficient to implement with trices, and perform matrix computations. R has thousands the restrictive programming and communication interface of of freely available packages and is widely used by data min- such frameworks. ers and statisticians, albeit for problems with relatively small In this paper we show that array-based languages such amounts of data. It has serious limitations when applied to as R [3] are suitable for implementing complex algorithms very large datasets: limited support for distributed process- and can outperform current data parallel solutions. Since R ing, no strategy for load balancing, no fault tolerance, and is is single-threaded and does not scale to large datasets, we constrained by a server’s DRAM capacity. have built Presto, a distributed system that extends R and 1.1 Towards an efficient distributed R addresses many of its limitations. Presto efficiently shares sparse structured data, can leverage multi-cores, and dynam- We validate our hypothesis that R can be used to efficiently ically partitions data to mitigate load imbalance.
    [Show full text]
  • Comparison of Numerical Methods and Open-Source Libraries for Eigenvalue Analysis of Large-Scale Power Systems
    applied sciences Article Comparison of Numerical Methods and Open-Source Libraries for Eigenvalue Analysis of Large-Scale Power Systems Georgios Tzounas , Ioannis Dassios * , Muyang Liu and Federico Milano School of Electrical and Electronic Engineering, University College Dublin, Belfield, Dublin 4, Ireland; [email protected] (G.T.); [email protected] (M.L.); [email protected] (F.M.) * Correspondence: [email protected] Received: 30 September 2020; Accepted: 24 October 2020; Published: 28 October 2020 Abstract: This paper discusses the numerical solution of the generalized non-Hermitian eigenvalue problem. It provides a comprehensive comparison of existing algorithms, as well as of available free and open-source software tools, which are suitable for the solution of the eigenvalue problems that arise in the stability analysis of electric power systems. The paper focuses, in particular, on methods and software libraries that are able to handle the large-scale, non-symmetric matrices that arise in power system eigenvalue problems. These kinds of eigenvalue problems are particularly difficult for most numerical methods to handle. Thus, a review and fair comparison of existing algorithms and software tools is a valuable contribution for researchers and practitioners that are interested in power system dynamic analysis. The scalability and performance of the algorithms and libraries are duly discussed through case studies based on real-world electrical power networks. These are a model of the All-Island Irish Transmission System with 8640 variables; and, a model of the European Network of Transmission System Operators for Electricity, with 146,164 variables. Keywords: eigenvalue analysis; large non-Hermitian matrices; numerical methods; open-source libraries 1.
    [Show full text]
  • Error Analysis of the Lanczos Algorithm for the Nonsymmetric Eigenvalue Problem
    mathematics of computation volume 62, number 205 january 1994,pages 209-226 ERROR ANALYSIS OF THE LANCZOS ALGORITHM FOR THE NONSYMMETRIC EIGENVALUE PROBLEM ZHAOJUN BAI Abstract. This paper presents an error analysis of the Lanczos algorithm in finite-precision arithmetic for solving the standard nonsymmetric eigenvalue problem, if no breakdown occurs. An analog of Paige's theory on the rela- tionship between the loss of orthogonality among the Lanczos vectors and the convergence of Ritz values in the symmetric Lanczos algorithm is discussed. The theory developed illustrates that in the nonsymmetric Lanczos scheme, if Ritz values are well conditioned, then the loss of biorthogonality among the computed Lanczos vectors implies the convergence of a group of Ritz triplets in terms of small residuals. Numerical experimental results confirm this obser- vation. 1. Introduction This paper is concerned with an error analysis of the Lanczos algorithm for solving the nonsymmetric eigenvalue problem of a given real n x n matrix A : Ax = Xx, yH A = XyH, where the unknown scalar X is called an eigenvalue of A, and the unknown nonzero vectors x and y are called the right and left eigenvectors of A, re- spectively. The triplet (A, x, y) is called eigentriplet of A . In the applications of interest, the matrix A is usually large and sparse, and only a few eigenvalues and eigenvectors of A are wanted. In [2], a collection of such matrices is pre- sented describing their origins in problems of applied sciences and engineering. The Lanczos algorithm, proposed by Cornelius Lanczos in 1950 [19], is a procedure for successive reduction of a given general matrix to a nonsymmetric tridiagonal matrix.
    [Show full text]
  • Solving Large Sparse Eigenvalue Problems on Supercomputers
    CORE https://ntrs.nasa.gov/search.jsp?R=19890017052Metadata, citation 2020-03-20T01:26:29+00:00Z and similar papers at core.ac.uk Provided by NASA Technical Reports Server a -. Solving Large Sparse Eigenvalue Problems on Supercomputers Bernard Philippe Youcef Saad December, 1988 Research Institute for Advanced Computer Science NASA Ames Research Center RIACS Technical Report 88.38 NASA Cooperative Agreement Number NCC 2-387 {NBSA-CR-185421) SOLVING LARGE SPAESE N89 -26 4 23 EIG E N V ALUE PBOBLE PlS 0 N SO PE IiCOM PUT ERS (Research Inst, for A dvauced Computer Science) 21 p CSCL 09B Unclas G3/61 0217926 Research Institute for Advanced Computer Science Solving Large Sparse Eigenvalue Problems on Supercomputers Bernard Philippe* Youcef Saad Research Institute for Advanced Computer Science NASA Ames Research Center RIACS Technical Report 88.38 December, 1988 An important problem in scientific computing consists in finding a few eigenvalues and corresponding eigenvectors of a very large and sparse matrix. The most popular methods to solve these problems are based on projection techniques on appropriate subspaces. The main attraction of these methods is that they only require to use the mauix in the form of matrix by vector multiplications. We compare the implementations on supercomputers of two such methods for symmetric matrices, namely Lanczos' method and Davidson's method. Since one of the most important operations in these two methods is the multiplication of vectors by the sparse matrix, we fist discuss how to perform this operation efficiently. We then compare the advantages and the disadvantages of each method and discuss implementations aspects.
    [Show full text]
  • Parallel Numerical Algorithms Chapter 5 – Eigenvalue Problems Section 5.2 – Eigenvalue Computation
    Basics Power Iteration QR Iteration Krylov Methods Other Methods Parallel Numerical Algorithms Chapter 5 – Eigenvalue Problems Section 5.2 – Eigenvalue Computation Michael T. Heath and Edgar Solomonik Department of Computer Science University of Illinois at Urbana-Champaign CS 554 / CSE 512 Michael T. Heath and Edgar Solomonik Parallel Numerical Algorithms 1 / 42 Basics Power Iteration QR Iteration Krylov Methods Other Methods Outline 1 Basics 2 Power Iteration 3 QR Iteration 4 Krylov Methods 5 Other Methods Michael T. Heath and Edgar Solomonik Parallel Numerical Algorithms 2 / 42 Basics Power Iteration Definitions QR Iteration Transformations Krylov Methods Parallel Algorithms Other Methods Eigenvalues and Eigenvectors Given n × n matrix A, find scalar λ and nonzero vector x such that Ax = λx λ is eigenvalue and x is corresponding eigenvector A always has n eigenvalues, but they may be neither real nor distinct May need to compute only one or few eigenvalues, or all n eigenvalues May or may not need corresponding eigenvectors Michael T. Heath and Edgar Solomonik Parallel Numerical Algorithms 3 / 42 Basics Power Iteration Definitions QR Iteration Transformations Krylov Methods Parallel Algorithms Other Methods Problem Transformations Shift : for scalar σ, eigenvalues of A − σI are eigenvalues of A shifted by σ, λi − σ Inversion : for nonsingular A, eigenvalues of A−1 are reciprocals of eigenvalues of A, 1/λi Powers : for integer k > 0, eigenvalues of Ak are kth k powers of eigenvalues of A, λi Polynomial : for polynomial p(t), eigenvalues
    [Show full text]