{'fraction_non_alphanumeric': 0.04288702928870293, 'fraction_numerical': 0.010460251046025104, 'mean_word_length': 4.316666666666666, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Computing a Matrix Function for Exponential Integrators

An efficient numerical method is developed for evaluating φ(A), where A is a symmetric matrix and φ is the function defined by φ(x) = (ex − 1)/x = 1 + x/2 + x2/6+ .... This matrix function is useful in the so-called exponential integrators for differential equations. In particular, it is related to the exact solution of the ODE system dy/dt = Ay + b, where A and b are t-independent. Our method avoids the eigenvalue decomposition of the matrix A and it requires about 10n3/3 operations for a general symmetric n×n matrix. When the matrix is tridiagonal, the required number of operations is only O(n2) and it can be further reduced to O(n) if only a column of the matrix function is needed. These efficient schemes for tridiagonal matrices are particularly useful when the Lanczos method is used to calculate the product of this matrix function (for a large symmetric matrix) with a given vector.