powered by
Compute Jacobian of a function symbolically
jacobianSymb(f, variables = NULL)
named vector of type character, the functions
other variables, e.g. paramters, f depends on. If variables is given, f is derived with respect to variables instead of names(f)
names(f)
named vector of type character with the symbolic derivatives
# NOT RUN { jacobianSymb(c(A="A*B", B="A+B")) jacobianSymb(c(x="A*B", y="A+B"), c("A", "B")) # }
Run the code above in your browser using DataLab