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

scipy.optimize.SR1.

SR1.get_matrix()[source]#

Return the current internal matrix.

Returns:

Mndarray, shape (n, n)

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