Skip to contents

Provides the Ricci scalar \(R\).

Usage

ricci_sc(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 Ricci scalar \(R\) as single number/expression.

See also

Wikipedia: Ricci scalar

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

Examples

ricci_sc(g_eucl_sph(3))
#> [1] "0"