| D,SymEngineDataType-method {symengine} | R Documentation |
Derivatives of a Symbolic Expression
Description
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.
Usage
## S4 method for signature 'SymEngineDataType'
D(expr, name)
Arguments
expr |
A Basic object. |
name |
A character vector or a Basic object of type Symbol. |
Value
Same type as expr argument.
Examples
expr <- S(~ exp(x))
D(expr) == expr
expr <- S(~ x^2 + 2*x + 1)
D(expr)
[Package symengine version 0.2.6 Index]