A Multiprecision Derivative-Free Schur-Parlett Algorithm for Computing Matrix Functions

The Schur–Parlett algorithm, implemented in MATLAB as funm, computes a function f(A) of an n × n matrix A by using the Schur decomposition and a block recurrence of Parlett. The algorithm requires the ability to compute f and its derivatives, and it requires that f has a Taylor series expansion with a suitably large radius of convergence. We develop a version of the Schur–Parlett algorithm that requires only function values and uses higher precision arithmetic to evaluate f on the diagonal blocks of order greater than 2 (if there are any) of the reordered and blocked Schur form. The key idea is to compute by diagonalization the function of a small random diagonal perturbation of each triangular block, where the perturbation ensures that diagonalization will succeed. This multiprecision Schur–Parlett algorithm is applicable to arbitrary functions f and, like the original Schur–Parlett algorithm, it generally behaves in a numerically stable fashion. Our algorithm is inspired by Davies’s randomized approximate diagonalization method, but we explain why that is not a reliable numerical method for computing matrix functions. We apply our algorithm to the matrix Mittag–Leffler function and show that it yields results of accuracy similar to, and in some cases much greater than, the state of the art algorithm for this function. The algorithm will be useful for evaluating any matrix function for which the derivatives of the underlying function are not readily available or accurately computable.

[1]  Nicholas J. Higham,et al.  Multiprecision Algorithms for Computing the Matrix Logarithm , 2018, SIAM J. Matrix Anal. Appl..

[2]  Awad H. Al-Mohy,et al.  Improved Inverse Scaling and Squaring Algorithms for the Matrix Logarithm , 2012, SIAM J. Sci. Comput..

[3]  A. Laub,et al.  Condition Estimates for Matrix Functions , 1989 .

[4]  Alan J. Laub,et al.  Small-Sample Statistical Condition Estimates for General Matrix Functions , 1994, SIAM J. Sci. Comput..

[5]  N. Higham Computing real square roots of a real matrix , 1987 .

[6]  Awad H. Al-Mohy,et al.  A New Scaling and Squaring Algorithm for the Matrix Exponential , 2009, SIAM J. Matrix Anal. Appl..

[7]  Jess Banks,et al.  Pseudospectral Shattering, the Sign Function, and Diagonalization in Nearly Matrix Multiplication Time , 2019, 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS).

[8]  Nicholas J. Higham,et al.  Functions of matrices - theory and computation , 2008 .

[9]  J. D. Roberts,et al.  Linear model reduction and solution of the algebraic Riccati equation by use of the sign function , 1980 .

[10]  Roberto Garrappa,et al.  Numerical Evaluation of Two and Three Parameter Mittag-Leffler Functions , 2015, SIAM J. Numer. Anal..

[11]  Igor Moret,et al.  On the Convergence of Krylov Subspace Methods for Matrix Mittag-Leffler Functions , 2011, SIAM J. Numer. Anal..

[12]  Marina Popolizio,et al.  Numerical Solution of Multiterm Fractional Differential Equations Using the Matrix Mittag–Leffler Functions , 2018 .

[13]  J. Demmel The condition number of equivalence transformations that block diagonalize matrix pencils , 1983 .

[14]  Cleve B. Moler,et al.  Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later , 1978, SIAM Rev..

[15]  James Demmel,et al.  On computing condition numbers for the nonsymmetric eigenproblem , 1993, TOMS.

[16]  Marianito R. Rodrigo,et al.  On fractional matrix exponentials and their explicit calculation , 2016 .

[17]  Computation of Functions of Triangular Matrices. , 1974 .

[18]  Nicholas J. Higham,et al.  A Schur-Parlett Algorithm for Computing Matrix Functions , 2003, SIAM J. Matrix Anal. Appl..

[19]  Nicholas J. Higham,et al.  A Catalogue of Software for Matrix Functions. Version 1.0 , 2014 .

[20]  Wayne Barrett,et al.  Spectral Properties of a Matrix of Redheffer , 1992 .

[21]  Nicholas J. Higham,et al.  An Algorithm for the Matrix Lambert W Function , 2015, SIAM J. Matrix Anal. Appl..

[22]  Nicholas J. Higham,et al.  An Arbitrary Precision Scaling and Squaring Algorithm for the Matrix Exponential , 2019, SIAM J. Matrix Anal. Appl..

[23]  Roberto Garrappa,et al.  On the use of matrix functions for fractional partial differential equations , 2011, Math. Comput. Simul..

[24]  Roberto Garrappa,et al.  Computing the Matrix Mittag-Leffler Function with Applications to Fractional Calculus , 2018, Journal of Scientific Computing.

[25]  Lars Karlsson,et al.  Robust parallel eigenvector computation for the non-symmetric eigenvalue problem , 2020, Parallel Comput..

[26]  Nicholas J. Higham,et al.  INVERSE PROBLEMS NEWSLETTER , 1991 .

[27]  Jess Banks,et al.  Gaussian Regularization of the Pseudospectrum and Davies’ Conjecture , 2019, Communications on Pure and Applied Mathematics.

[28]  Lian Chen,et al.  Solution of Fractional Differential Equation Systems and Computation of Matrix Mittag-Leffler Functions , 2018, Symmetry.

[29]  Igor Moret,et al.  On the time-fractional Schrödinger equation: Theoretical analysis and numerical solution by matrix Mittag-Leffler functions , 2017, Comput. Math. Appl..

[30]  E. B. Davies Approximate Diagonalization , 2007, SIAM J. Matrix Anal. Appl..

[31]  Igor Moret,et al.  Solving the time-fractional Schrödinger equation by Krylov projection methods , 2015, J. Comput. Phys..