Skip to contents

Provides the covariant Ricci curvature tensor \(R_{ij}=R^{s}_{i s j}\).

Usage

ricci(g)

Arguments

g

A covariant metric tensor, a "metric_field" object. See metric_field() to create a new metric tensor, or use predefined metrics, e.g. g_eucl_cart().

Value

Returns the covariant Ricci curvature tensor \(R_{ij}\) as rank 2 array().

See also

Wikipedia: Ricci curvature tensor

Other geometric tensors: christoffel(), ricci_sc(), riemann()

Examples

ricci(g_eucl_sph(3))
#>      [,1] [,2] [,3]
#> [1,] "0"  "0"  "0" 
#> [2,] "0"  "0"  "0" 
#> [3,] "0"  "0"  "0"