D,SymEngineDataType-method | R Documentation |
S4 method of D
defined for Basic
. It returns
the derivative of expr
with regards to name
.
name
may be missing if there is only one symbol in
expr
.
## S4 method for signature 'SymEngineDataType' D(expr, name)
expr |
A Basic object. |
name |
A character vector or a Basic object of type Symbol. |
Same type as expr
argument.
expr <- S(~ exp(x)) D(expr) == expr expr <- S(~ x^2 + 2*x + 1) D(expr)