calculus: High Dimensional Numerical and Symbolic Calculus

Efficient C++ optimized functions for numerical and symbolic calculus as described in Guidotti (2022) <doi:10.18637/jss.v104.i05>. It includes basic arithmetic, tensor calculus, 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 (Gradient, Jacobian, Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, parabolic or user defined by custom scale factors.

Version: 1.1.0
Imports: Rcpp (≥ 1.0.1)
LinkingTo: Rcpp
Suggests: cubature, testthat, knitr, rmarkdown
Published: 2025-06-18
Author: Emanuele Guidotti ORCID iD [aut, cre]
Maintainer: Emanuele Guidotti <emanuele.guidotti at usi.ch>
BugReports: https://github.com/eguidotti/calculus/issues
License: GPL-3
URL: https://calculus.eguidotti.com
NeedsCompilation: yes
Citation: calculus citation info
Materials: README NEWS
In views: NumericalMathematics
CRAN checks: calculus results

Documentation:

Reference manual: calculus.pdf
Vignettes: High order derivatives of multivariate functions (source, R code)
Differential operators in arbitrary orthogonal coordinates systems (source, R code)
Einstein summation convention (source, R code)
Hermite polynomials (source, R code)
Multiple integrals in arbitrary orthogonal coordinates systems (source, R code)
Ordinary differential equations (source, R code)
Taylor series of multivariate functions (source, R code)

Downloads:

Package source: calculus_1.1.0.tar.gz
Windows binaries: r-devel: calculus_1.0.1.zip, r-release: calculus_1.0.1.zip, r-oldrel: calculus_1.0.1.zip
macOS binaries: r-release (arm64): calculus_1.1.0.tgz, r-oldrel (arm64): calculus_1.1.0.tgz, r-release (x86_64): calculus_1.0.1.tgz, r-oldrel (x86_64): calculus_1.0.1.tgz
Old sources: calculus archive

Reverse dependencies:

Reverse imports: bayesCureRateModel, difNLR, mosaicCalc, yuima
Reverse suggests: metafor

Linking:

Please use the canonical form https://CRAN.R-project.org/package=calculus to link to this page.