This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

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 : ndarray

An array with shape (n,m)

Returns

Y : ndarray

The 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