Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for hessian:

 Hessian and (optionally) gradient.

::

 hessian(DM ex, DM arg, dict opts) -> (DM , DM OUTPUT1)
 hessian(SX ex, SX arg, dict opts) -> (SX , SX OUTPUT1)
 hessian(MX ex, MX arg, dict opts) -> (MX , MX OUTPUT1)

Extra doc: https://github.com/casadi/casadi/wiki/L_23z

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L865

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L865-L868

Extra documentation

To edit, see writing tips.

Clone this wiki locally