CLOSED_FORM$sym | R Documentation |
A list, will be initialized after an instance is built.
# Constant variable
a <- 1
# Random uniform variable
b <- rand_uniform()
# Define a closed form expression
cf <- closed_form(~3 * (exp(a) + b))
cf
# Get the list of symbols
cf$sym
# Get the list of symbol names
cf$sym_name
# Get the list of symbol types
cf$sym_type
d <- rand_normal()
# Define a closed form expression with another closed form expression
cf2 <- closed_form(~cf + 3 * d)
cf2
# Get the list of symbols, constants are not counted as symbols
cf2$sym
# Get the list of symbol names
cf2$sym_name
# Get the list of symbol types
cf$sym_type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.