These functions currently use DoubleVisitor to
convert a Basic/VecBasic object to a DoubleVisitor which
essentially is a S4 class extending R function.
Usage
lambdify(x, args, backend = c("auto", "lambda", "llvm"), perform_cse = TRUE)
# S3 method for class 'BasicOrVecBasic'
as.function(x, args, backend = "auto", perform_cse = TRUE, ...)Arguments
- x
A Basic object or a VecBasic object.
- args
A VecBasic object specifying the arguments of the resulted function. It will be passed to
DoubleVisitorand can be missing.- backend
One of "auto", "lambda" and "llvm". If "auto",
getOption("lambdify.backend")will be used to determine the value. If that option is not set, it will be determined based onsymengine_have_component("llvm").- perform_cse
Passed to
DoubleVisitor.- ...
Not used