Add a numerical implementation to an undefined function
Source:R/codegen-lambdify.R
implemented_function.Rdimplemented_function(symfunc, implementation) returns an undefined
function named after symfunc whose applications carry implementation,
as SymPy's implemented_function(). lambdify() evaluates the
applications with the implementation, and the code printers inline an
implementation that is a Lambda().
Arguments
- symfunc
A function name, or an undefined function made by
Function().- implementation
A
Lambda()or an R function.