Package index
Label and unlabel arrays
Adding index names enables the usage of Ricci calculus rules, while unlabeling restores the usual R array.
-
as.array(<tensor>)
- Strip array labels
-
as_a()
- Strip array labels
Tensor operations
Working with labeled arrays allows to consicely specify various tensor operations who all take given index structures into account and act accordingly.
-
Ops(<tensor>)
- Arithmetic tensor operations
-
kron()
- Kronecker product
-
at()
- Evaluate a symbolic array
-
simplify()
- Simplify symbolic expressions
Tensor fields
Tensor fields can be modeled by symbolic tensors, i.e. tensors that contain mathematical expressions instead of numerical values.
-
covd()
- Covariant Derivative
-
g_eucl_cart()
g_eucl_sph()
- Euclidean metric tensor
-
g_mink_cart()
g_mink_sph()
- Minkowski metric tensor
-
g_sph()
- Metric tensor of the sphere
-
g_ss()
- Schwarzschild metric tensor
-
metric_field()
- Create a metric tensor field
-
christoffel()
- Christoffel symbols
-
ricci()
- Ricci curvature tensor
-
ricci_sc()
- Ricci scalar
-
riemann()
- Riemann curvature tensor
-
expect_tensor_equal()
- Does code return the expected value?