Computer Science 219, Spring 2013:
Sparse Matrix Algorithms

John R. Gilbert

Mon/Wed 9:00-10:50
Phelps 2510

Schedule, reading assignments, and slides
Class email and discussion list on GauchoSpace
Office hours
Matlab files
Assignment 1 (pdf, tex)
Assignment 2 (pdf, tex)
Assignment 3 (pdf, tex)
Assignment 4 (pdf, tex)
Assignment 5 (pdf, tex)
Final project ideas

Sparse matrices are a basic tool of computational science and engineering. They show up in applications ranging from models of the physical world to web search and graph clustering. Using them efficiently involves techniques from linear algebra, graph algorithms, and computer architecture.

Sparse matrix algorithms are fascinating (to me at least :) because they combine two languages that are often quite different, those of numerical computation and of graph theory. One result is that nobody knows it all -- there is always something new to be learned by trying to speak the language you're not expert in.

Most of the course will concern methods for solving large, sparse systems of linear equations. We will study direct methods, which are based on Gaussian elimination and use tools from graph theory and discrete data structures; iterative methods, which treat the matrix as a black-box operator and use eigenvalues and eigenvectors to analyze convergence; and modern preconditioned methods, which combine the discrete structure of direct methods, the numerical structure of iterative methods, and the specifics of the problem domain. We'll also study some methods for finding eigenvalues and eigenvectors of large, sparse matrices.

The prerequisites are some knowledge of linear algebra (Gaussian elimination, eigenvalues and eigenvectors) and analysis of algorithms. I expect to have students with a variety of different backgrounds; if you have an application from a scientific or engineering field that includes solving a system of linear equations I encourage you to talk to me about the course.

Students will do homework assignments and a term project. The term project can be either an application to a real computational science problem, an algorithms implementation experiment, or a theoretical or survey paper.

Approximate course outline:


These three books are all excellent. Though they will be on reserve at the library I recommend that you get your own copies. All three are available at significant discounts to SIAM members, and any UCSB student can join SIAM for free.