Skip to contents

Returns one entry per primitive. Univariate trees use "x"; bivariate use "x" and "y". Use verify_catalog() to confirm that every entry simplifies, via simplify_native(), to its expected base-R form.

Usage

eml_catalog()

Value

A named list of EML expressions.

See also

tree_identities for the individual constructors; verify_catalog() for end-to-end numerical verification.

Examples

cat <- eml_catalog()
names(cat)
#>  [1] "one"     "e"       "zero"    "neg_one" "two"     "i"       "pi"     
#>  [8] "exp"     "log"     "minus"   "add"     "sub"     "mul"     "div"    
#> [15] "pow"     "sqrt"    "sin"     "cos"    
cat$log
#> eml(1, eml(eml(1, x), 1))