get_matrix — SciPy v1.15.2 Manual (original) (raw)

scipy.optimize.HessianUpdateStrategy.

HessianUpdateStrategy.get_matrix()[source]#

Return current internal matrix.

Returns:

Hndarray, shape (n, n)

Dense matrix containing either the Hessian or its inverse (depending on how ‘approx_type’ is defined).