combine_attr_deriv: combine_attr_deriv
combines attributes of two deriv()
results.
Description
combine_attr_deriv
combines attributes of two deriv()
results.
Usage
combine_attr_deriv(t1, t2, attribute)
Arguments
t1
Derivative of first expression. Results of deriv()
.
t2
Derivative of second expression. Results of deriv()
.
attribute
"grad" for gradient or "hessian" for the Hessian matrix.
Value
Combined matrices of attributes.