bundles / scipy latest / scipy / optimize / _lbfgsb_py / LbfgsInvHessProduct / _matmat
function
scipy.optimize._lbfgsb_py:LbfgsInvHessProduct._matmat
source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_lbfgsb_py.py:537
Signature
def _matmat(self, X)Summary
Efficient matrix-matrix multiply with the BFGS matrices.
Extended Summary
This calculation is described in Section (4) of [1].
Parameters
X: ndarrayAn array with shape (n,m)
Returns
Y: ndarrayThe matrix-matrix product
Notes
This implementation is written starting from _matvec and broadcasting all expressions along the second axis of X.
Aliases
scipy.optimize.LbfgsInvHessProduct._matmat