SciPy

scipy.optimize.SR1.get_matrix

SR1.get_matrix()[source]

Return the current internal matrix.

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

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