{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _lbfgsb_py / LbfgsInvHessProduct / _matvec

function

scipy.optimize._lbfgsb_py:LbfgsInvHessProduct._matvec

source: /scipy/optimize/_lbfgsb_py.py :552

Signature

def   _matvec ( self x )

Summary

Efficient matrix-vector multiply with the BFGS matrices.

Extended Summary

This calculation is described in Section (4) of [1].

Parameters

x : ndarray

An array with shape (n,) or (n,1).

Returns

y : ndarray

The matrix-vector product

Aliases

  • scipy.optimize.LbfgsInvHessProduct._matvec