These functions are used to create operations on functions in LaTeX. They represent evaluation, pullback, pushforward, derivatives and limits of functions.
Usage
at(f, var)
pback(f)
pfow(f)
dd(f, var)
pp(f, var)
lim(f, var, to = lsymb("\\infty"))
Arguments
- f
latex_symb object representing a function
- var
latex_symb object representing a variable
- to
latex_symb object representing the limit of the function
Value
An object of class latex_symb whose repr is the LaTeX code for the operation applied to the function and the variable.
Examples
f <- lsymb("f")
x <- lsymb("x")
at(f, x)
#> [1] "f \\left( x \\right)"
pback(f)
#> [1] "f ^{ \\ast }"
pfow(f)
#> [1] "f _{ \\ast }"
dd(f, x)
#> [1] "\\frac{ d }{ d x } f"
pp(f, x)
#> [1] "\\frac{ \\partial }{ \\partial x } f"
lim(f, x)
#> [1] "\\lim _{ x \\rightarrow \\infty } f"