Extension of accurate numerical algorithms for matrix multiplication based on error-free transformation

Mukunoki, Daichi,Ogita, Takeshi
DOI: https://doi.org/10.1007/s13160-024-00677-z
2024-10-31
Japan Journal of Industrial and Applied Mathematics
Abstract:The error-free transformation of matrix multiplication is a useful technique for accurate numerical computations in linear algebra problems. It can be used to transform the product of two floating-point matrices into an unevaluated sum of floating-point matrices, making it useful for developing accurate numerical algorithms for matrix multiplication. This technique splits both left and right matrices into k floating-point matrices, and then times matrix multiplications are performed. We extend this technique and propose several accurate algorithms for matrix multiplication, which involve p times matrix multiplications with , respectively. The proposed algorithms efficiently provide more accurate results than those by double-precision arithmetic and less accurate than those by quadruple-precision arithmetic. In addition, we propose alternative forms to reduce the number of matrix multiplications with rounding errors. Numerical results show that the number of matrix multiplications affects the accuracy of the computed results. This dependence is examined using rounding error analysis and confirmed through numerical experiments.
mathematics, applied
What problem does this paper attempt to address?