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:
ricci_0.1.1.9000.tar.gz
ricci_0.1.1.9000.zip(r-4.7)ricci_0.1.1.9000.zip(r-4.6)ricci_0.1.1.9000.zip(r-4.5)
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✨
card.svg |card.png
ricci/json (API)
NEWS
| # 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
calculuscovariantderivativericcitensor
Last updated from:5672be07ed. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 127 | ||
| source / vignettes | OK | 211 | ||
| linux-release-x86_64 | OK | 163 | ||
| macos-release-arm64 | OK | 144 | ||
| macos-oldrel-arm64 | OK | 190 | ||
| windows-devel | OK | 89 | ||
| windows-release | OK | 81 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 111 |
Exports:.%_%as_aasymatchristoffelcovddeexpect_tensor_equalg_eucl_cartg_eucl_sphg_mink_cartg_mink_sphg_sphg_sskronlmetric_fieldrricciricci_scriemannsimplifysubstsymtensor
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Index slot label specification | . |
| Strip array labels | as_a |
| Strip array labels | as.array.tensor |
| Antisymmetric tensor part | asym |
| Evaluate a symbolic array | at at.array at.tensor |
| Christoffel symbols | christoffel |
| Covariant Derivative | covd |
| Kronecker delta | d |
| Levi-Civita epsilon | e |
| Does code return the expected value? | expect_tensor_equal |
| Euclidean metric tensor | g_eucl_cart g_eucl_sph |
| Minkowski metric tensor | g_mink_cart g_mink_sph |
| Metric tensor of the sphere | g_sph |
| Schwarzschild metric tensor | g_ss |
| Kronecker product | kron |
| Lower tensor indices | l |
| Create a metric tensor field | metric_field |
| Arithmetic tensor operations | Ops.tensor |
| Raise tensor indices | r |
| Ricci curvature tensor | ricci |
| Ricci scalar | ricci_sc |
| Riemann curvature tensor | riemann |
| Simplify symbolic expressions | simplify |
| Substitute tensor labels | subst |
| Symmetric tensor part | sym |
| Create a labeled array (tensor) | %_% tensor |
