#XXX See code in compile.R - getBuiltInRoutines
FunctionTypeInfo =
list (sqrt = list(return = "numeric", isElementwise = TRUE, inputs = c("numeric")),
exp = list(return = "numeric", isElementwise = TRUE, inputs = c("numeric")),
log = list(return = "numeric", isElementwise = TRUE, inputs = c("numeric")),
"^" = list(return = "numeric", isElementwise = TRUE, inputs = c("numeric")),
"/" = list(return = "numeric", isElementwise = TRUE, inputs = "numeric")
# the following depend onthe types of the inputs
# "*" = list(return = "numeric", isElementwise = TRUE, inputs = "numeric"),
# "+" = list(return = "numeric", isElementwise = TRUE, inputs = "numeric"),
# "-" = list(return = "numeric", isElementwise = TRUE, inputs = "numeric")
)
ConstantInfo =
list(pi = base::pi, e = exp(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.