Function evaluate
Source pub fn evaluate<C: EvalContext>(
arena: &ExprArena,
id: ExprId,
ctx: &C,
) -> Result<f64, EvalError>
Expand description
Evaluate id to an f64, pulling variable / parameter values from ctx.
ยงErrors
Returns an EvalError if a needed variable or parameter is missing from the context.