加载中…
We derive a new algorithm for computing the action of the cosine, sine, hyperbolic cosine, and hyperbolic sine of a matrix on a matrix , without first computing . The algorithm can compute and simultaneously, and likewise for and , and it uses only real arithmetic when is real. The algorithm exploits an existing algorithm of Al-Mohy and Higham for and its underlying backward error analysis. Our experiments show that the new algorithm performs in a forward stable manner and is generally significantly faster than alternatives based on multiple invocations of through formulas such as .

生成讲解博客的中文版本

生成AI智能校验的中文版本