Compute Jacobian of a function symbolically

Share:

Description

Compute Jacobian of a function symbolically

Usage

1
jacobianSymb(f, variables = NULL)

Arguments

f

named vector of type character, the functions

variables

other variables, e.g. paramters, f depends on. If variables is given, f is derived with respect to variables instead of names(f)

Value

named vector of type character with the symbolic derivatives

Examples

1
2
jacobianSymb(c(A="A*B", B="A+B"))
jacobianSymb(c(x="A*B", y="A+B"), c("A", "B"))