SciPy

scipy.optimize.LbfgsInvHessProduct

class scipy.optimize.LbfgsInvHessProduct(*args, **kwargs)[source]

Linear operator for the L-BFGS approximate inverse Hessian.

This operator computes the product of a vector with the approximate inverse of the Hessian of the objective function, using the L-BFGS limited memory approximation to the inverse Hessian, accumulated during the optimization.

Objects of this class implement the scipy.sparse.linalg.LinearOperator interface.

Parameters
skarray_like, shape=(n_corr, n)

Array of n_corr most recent updates to the solution vector. (See [1]).

ykarray_like, shape=(n_corr, n)

Array of n_corr most recent updates to the gradient. (See [1]).

References

1

Nocedal, Jorge. “Updating quasi-Newton matrices with limited storage.” Mathematics of computation 35.151 (1980): 773-782.

Attributes
H

Hermitian adjoint.

T

Transpose this linear operator.

Methods

__call__(self, x)

Call self as a function.

adjoint(self)

Hermitian adjoint.

dot(self, x)

Matrix-matrix or matrix-vector multiplication.

matmat(self, X)

Matrix-matrix multiplication.

matvec(self, x)

Matrix-vector multiplication.

rmatmat(self, X)

Adjoint matrix-matrix multiplication.

rmatvec(self, x)

Adjoint matrix-vector multiplication.

todense(self)

Return a dense array representation of this operator.

transpose(self)

Transpose this linear operator.

__mul__

Previous topic

scipy.optimize.line_search

Next topic

scipy.optimize.LbfgsInvHessProduct.__call__