SearcharxivSearch

arXiv subjects

Majed Hamadi

Publications and source records attributed to Majed Hamadi.

2 recordsLinked to original sources

Exploiting the the nonzero diagonal pattern in matrix function computations

We consider the task of approximating a matrix function $f(A)$, where $A$ is a matrix in which only a relatively small number of (not necessarily consecutive) sub- and superdiagonals contain nonzero entries. Approximating $f$ by a low-degree polynomial $p$ allows us to obtain sparse approximations to $f(A)$, which one can efficiently work with (while, in general, $f(A)$ is a dense matrix, even when $A$ is sparse). Our approach is based on carefully inspecting the locations where nonzeros can occur in $p(A)$, and identifying the entries in $A$ that influence them. In particular, we illustrate how this approach can be used for efficiently approximating the trace of $f(A)$ and identify how this approach is related to established (stochastic) probing methods for trace estimation. Another application area in which our approach works particularly well is the computation of functions of Toeplitz matrices. Here, studying the sparsity pattern of $p(A)$ allows us to reduce the computation of the whole matrix polynomial to that of a single small-scale submatrix, yielding an algorithm that scales exceptionally well to large problem sizes.

math.NA

Computing exponential of tridiagonal Toeplitz matrices with applications to numerical solution of the heat equation

The computation of the exponential of a tridiagonal matrix and its applications have always been of interest. One application considered here is when the method of lines is used to solve the heat equation, where the equation is transformed into a system of ordinary differential equations (ODEs), and this system has a solution that depends on the exponential of a tridiagonal Toeplitz matrix. Strang and MacNamara presented an approximate method for computing the exponential of a symmetric tridiagonal Toeplitz matrix that appears in the solution of ODEs. Their method is based on approximating the entries of the exponential matrix with modified Bessel functions of the first kind at certain values, and accordingly, the exponential matrix is decomposed as the difference of a Toeplitz matrix and a Hankel matrix. Here, we aim to extend this idea to the general case of tridiagonal Toeplitz matrices and stabilize the method by approximating the matrix exponential with a banded matrix, which makes the complexity of computing the exponential matrix independent of the matrix size. Additionally, we provide an error analysis for these methods and a bound for the entries of the exponential of the tridiagonal Toeplitz matrices. As a main contribution of this work, the idea is implemented to solve the heat equation, and the uniform stability of the method is proved. By using a splitting approach, the method is generalized for two-dimensional problems. Numerical illustrations demonstrate the efficiency of the new methods and bounds.

math.NA