English

calculus: High Dimensional Numerical and Symbolic Calculus in R

Mathematical Software 2022-10-05 v1 Numerical Analysis Numerical Analysis

Abstract

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.

Keywords

Cite

@article{arxiv.2101.00086,
  title  = {calculus: High Dimensional Numerical and Symbolic Calculus in R},
  author = {Emanuele Guidotti},
  journal= {arXiv preprint arXiv:2101.00086},
  year   = {2022}
}
R2 v1 2026-06-23T21:40:21.641Z