SciPy

scipy.optimize.HessianUpdateStrategy.get_matrix

HessianUpdateStrategy.get_matrix()[source]

Return current internal matrix.

Returns:
H : ndarray, shape (n, n)

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