ricci: Ricci Calculus

Provides a compact 'R' interface for performing tensor calculations. This is achieved by allowing (upper and lower) index labeling of arrays and making use of Ricci calculus conventions to implicitly trigger contractions and diagonal subsetting. Explicit tensor operations, such as addition, subtraction and multiplication of tensors via the standard operators, raising and lowering indices, taking symmetric or antisymmetric tensor parts, as well as the Kronecker product are available. Common tensors like the Kronecker delta, Levi Civita epsilon, certain metric tensors, the Christoffel symbols, the Riemann as well as Ricci tensors are provided. The covariant derivative of tensor fields with respect to any metric tensor can be evaluated. An effort was made to provide the user with useful error messages.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: calculus, cli, rlang
Suggests: knitr, rmarkdown, Ryacas, testthat (≥ 3.0.0), waldo
Published: 2025-09-04
DOI: 10.32614/CRAN.package.ricci
Author: Lukas Schneiderbauer ORCID iD [aut, cre, cph]
Maintainer: Lukas Schneiderbauer <lukas.schneiderbauer at gmail.com>
BugReports: https://github.com/lschneiderbauer/ricci/issues
License: GPL (≥ 3)
URL: https://github.com/lschneiderbauer/ricci, https://lschneiderbauer.github.io/ricci/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ricci results

Documentation:

Reference manual: ricci.html , ricci.pdf
Vignettes: ricci (source, R code)
Tensor Fields (source, R code)

Downloads:

Package source: ricci_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: ricci_0.1.1.zip
macOS binaries: r-release (arm64): ricci_0.1.1.tgz, r-oldrel (arm64): ricci_0.1.1.tgz, r-release (x86_64): ricci_0.1.1.tgz, r-oldrel (x86_64): ricci_0.1.1.tgz

Linking:

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