at: Evaluate a symbolic array

atR Documentation

Evaluate a symbolic array

Description

Evaluates a symbolic array at a particular point in parameter space. Partial evaluation is not allowed, all variables/symbols need to be accounted for. The result is a numeric array.

Usage

at(x, vars)

## S3 method for class 'array'
at(x, vars)

## S3 method for class 'tensor'
at(x, vars)

Arguments

x

A symbolic array() or a tensor().

vars

A named vector with parameter-value assignments. Each named entry represents a substitution of a symbol with the given value.

Value

A numeric array() or tensor().

Examples

g_sph(3) |> at(c(ph1 = 0, ph2 = 0))

ricci documentation built on Sept. 9, 2025, 5:56 p.m.