scipy.optimize.HessianUpdateStrategy.

get_matrix#

HessianUpdateStrategy.get_matrix()[原始碼]#

返回當前的內部矩陣。

返回:
Hndarray,形狀為 (n, n)

包含黑塞矩陣或其逆矩陣的稠密矩陣(取決於 ‘approx_type’ 的定義方式)。