scipy.optimize.BFGS. get_matrix# BFGS.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).