Builds an environment containing the eml operator and the
user-supplied bindings, then defers to base::eval. Vectorised
inputs are supported transparently — if vars$x is length N, the
result is length N.
Usage
eml_eval(expr, vars = list(), real = FALSE, tol = 1e-08)Details
By default the result is complex (the principal-branch domain of
EML). Set real = TRUE to return Re(z), warning if the imaginary
residue exceeds tol (the real part is still returned).
See also
compile_eml() / run_bytecode() for the vectorised
stack-machine evaluator with the same semantics.
