scipy.optimize.BFGS. get_matrix# BFGS.get_matrix()[source]# 返回目前的內部矩陣。 返回: Mndarray,形狀為 (n, n)稠密矩陣,包含黑塞矩陣或其逆矩陣(取決於 approx_type 的定義方式)。