Package: ricci 0.1.1.9000

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.

Authors:Lukas Schneiderbauer [aut, cre, cph]

ricci_0.1.1.9000.tar.gz
ricci_0.1.1.9000.zip(r-4.7-any)ricci_0.1.1.9000.zip(r-4.6-any)ricci_0.1.1.9000.zip(r-4.5-any)
ricci_0.1.1.9000.tgz(r-4.6-any)ricci_0.1.1.9000.tgz(r-4.5-any)
ricci_0.1.1.9000.tar.gz(r-4.7-any)ricci_0.1.1.9000.tar.gz(r-4.6-any)
ricci_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ricci/json (API)

# Install 'ricci' in R:
install.packages('ricci', repos = c('https://lschneiderbauer.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lschneiderbauer/ricci/issues

Pkgdown/docs site:https://lschneiderbauer.github.io

On CRAN:

Conda:

calculuscovariantderivativericcitensor

4.00 score 358 downloads 27 exports 4 dependencies

Last updated from:5672be07ed. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK147
source / vignettesOK239
linux-releaseOK137
macos-releaseOK196
macos-oldrelOK227
windows-develOK92
windows-releaseOK81
windows-oldrelOK81
wasm-releaseOK106

Exports:.%_%as_aasymatchristoffelcovddeexpect_tensor_equalg_eucl_cartg_eucl_sphg_mink_cartg_mink_sphg_sphg_sskronlmetric_fieldrricciricci_scriemannsimplifysubstsymtensor

Dependencies:calculuscliRcpprlang

Tensor Fields
Covariant derivative | Examples

Last update: 2025-07-29
Started: 2025-07-27

ricci
Creating a labeled array (tensor) | Performing calculations | Contraction | Diagonal subsetting | Outer product | Inner product | Mixed product: tensor multiplication w/ contractions and subsetting | Element-wise product | Kronecker product | Addition and Substraction | (Anti-)symmetrization | Unlabel a tensor

Last update: 2025-07-28
Started: 2025-07-17