Provides the Ricci scalar \(R\).
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()
.
See also
Wikipedia: Ricci scalar
Other geometric tensors:
christoffel()
,
ricci()
,
riemann()
Examples
ricci_sc(g_eucl_sph(3))
#> [1] "0"