The R package calculus implements C++ optimized functions for numerical and symbolic calculus, such as the Einstein summing convention, fast computation of the Levi-Civita symbol and generalized Kronecker delta, Taylor series expansion, multivariate Hermite polynomials, high-order derivatives, ordinary differential equations, differential operators and numerical integration in arbitrary orthogonal coordinate systems. The library applies numerical methods when working with R functions or symbolic programming when working with characters or expressions. The package handles multivariate numerical calculus in arbitrary dimensions and coordinates and implements the symbolic counterpart of the numerical methods whenever possible, without depending on external computer algebra systems. Except for Rcpp, the package has no strict dependencies in order to provide a stable self-contained toolbox that invites re-use.
翻译:R 软件包微积分执行 C++ 优化数值和符号微积分功能, 如爱因斯坦 蜂鸣会、 快速计算 Levi- Civita 符号和通用的 Kronecker delta 、 Taylor 系列扩展、 多变量Hermite 多级组合、 高阶衍生物、 普通差异方程式、 差异操作器和任意正方形坐标系统中的数字集成。 图书馆在使用 R 函数或符号编程时, 使用数字方法操作字符或表达式。 软件包处理任意尺寸的多变量数字微积分, 并尽可能协调和执行数字方法的符号对应, 而不取决于外部计算机代数系统 。 除了 Rcpp 外, 软件包没有严格的依赖性, 以便提供一个稳定的自足工具箱, 可以重新使用 。