combine_attr_deriv: 'combine_attr_deriv' combines attributes of two 'deriv()'...

Description Usage Arguments Value

Description

combine_attr_deriv combines attributes of two deriv() results.

Usage

1
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.


nmm documentation built on Jan. 7, 2021, 5:10 p.m.

Related to combine_attr_deriv in nmm...