We present LinApart, a routine designed for efficiently performing the univariate partial fraction decomposition of large symbolic expressions. Our method is based on an explicit closed formula for the decomposition of rational functions with fully factorized denominators. We provide implementations in both the Wolfram Mathematica and C languages, made available at https://github.com/fekeshazy/LinApart . The routine can provide very significant performance gains over available tools such as the Apart command in Mathematica.
翻译:本文介绍LinApart,一种专为高效处理大型符号表达式的单变量部分分式分解而设计的程序。该方法基于对分母完全因式分解的有理函数分解的显式闭式解。我们在Wolfram Mathematica和C语言中均提供了实现,代码发布于https://github.com/fekeshazy/LinApart。相较于Mathematica中Apart命令等现有工具,该程序能带来显著的性能提升。