SciPy

This is documentation for an old release of SciPy (version 0.18.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.optimize.rosen_hess_prod

scipy.optimize.rosen_hess_prod(x, p)[source]

Product of the Hessian matrix of the Rosenbrock function with a vector.

Parameters:

x : array_like

1-D array of points at which the Hessian matrix is to be computed.

p : array_like

1-D array, the vector to be multiplied by the Hessian matrix.

Returns:

rosen_hess_prod : ndarray

The Hessian matrix of the Rosenbrock function at x multiplied by the vector p.