fn map_call(
context: &Context<'_>,
name: &str,
op: MapOp,
vector: &Expr,
) -> Result<NativeNode>Expand description
Wraps op over the value of vector, which is the first argument of a math, native histogram
or label function.
The output is the input’s own type: a pointwise function moves no value to another grid point
and reports one value per field it was given, so the map’s schema is the input’s allocation
rather than a copy that merely agrees with it. [NativeTree::validate] does not require that
sharing: it compares the map’s grid with its input’s by [EvalGrid::spec] and its field count
with its input’s, so a map that allocated an equal grid of its own would validate the same way.
The only comparison by identity is an input node’s, whose output has to be the very binding it
was bound to.