pbrod / numdifftools

Solve automatic numerical differentiation problems in one or more variables.
BSD 3-Clause "New" or "Revised" License
253 stars 44 forks source link

Calculate the Hessian of functions with n-D output. #70

Open dobos opened 1 year ago

dobos commented 1 year ago

Hi @pbrod, I've updated the finite difference calculators in HessianDifferenceFunctions to work with functions that produce multi-dimensional output, see Issue #67. Also added a few simple test to TestHessian. Some tests that used to be red still are but new tests are all green, although I had to reduce the tolerances to 1e-4.