High Dimensional Numerical and Symbolic Calculus
Overview
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.
- overload
is.numericto include complex numbers
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-19
- ERROR12 OK, 1 ERROR2026-08-22
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 36 (1 internal)includes a package overview page
- Examples that run
- 100%35 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 97%
- Differential operators in arbitrary orthogonal coordinates systems HTML
- Einstein summation convention HTML
- Hermite polynomials HTML
- High order derivatives of multivariate functions HTML
- Multiple integrals in arbitrary orthogonal coordinates systems HTML
- Ordinary differential equations HTML
- Taylor series of multivariate functions HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
5 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/eguidotti/calculus on 2026-10-18.
The R CMD check workflow runs on macOS
GitHub Pages site last deployed 2025-06-17 · The repository has a site deploy workflow
pkgdown site last built 2025-06-17, before release 1.1.0 (2025-06-18)
Dependencies
Installing calculus adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.12023-03-10 · diff ↗
- 1.0.02022-09-26 · diff ↗
- 0.3.42022-08-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.3.32022-01-22 · diff ↗
- 0.3.22021-12-18 · diff ↗
- 0.3.12021-05-26 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.02021-01-07 · diff ↗ ·
removed 8 exports
%matrix%, diag<-, det, diag, inverse, kronecker, levicivita, traceadded 13 exports
%jacobian%, %mx%, diagonal<-, contraction, delta, diagonal, epsilon, jacobian, mx, mxdet, mxinv, mxtr, ode - RR 4.0.0 released · 2020-04-24
- 0.2.12020-03-23 · diff ↗
Package metadata
- First published
- 2019-11-07
- Total releases
- 12 / 7 yrs
- License
- GPL-3 OSI
- Download size
- 161 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("calculus")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v104.i05.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.