Does MATLAB optimize or calculate the Hessian of a scalar function directly when using the hessian function?

2 views (last 30 days)
Doe MATLAB calculate the Hessian matrix directly or through an estimation method when using the Hessian function (https://www.mathworks.com/help/symbolic/sym.hessian.html)?

Accepted Answer

Matt J
Matt J on 27 Mar 2021
Edited: Matt J on 27 Mar 2021
If by "directly" you mean analytically or symbolically, then yes, that is how hessian() operates.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!