scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
rosen_hess_prod(x, p)

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.

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

See Also

rosen
rosen_der
rosen_hess

Examples

>>> from scipy.optimize import rosen_hess_prod
... X = 0.1 * np.arange(9)
... p = 0.5 * np.arange(9)
... rosen_hess_prod(X, p) array([ -0., 27., -10., -95., -192., -265., -278., -195., -180.])
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.optimize._optimize.rosen_der scipy.optimize._optimize.rosen scipy.optimize._optimize.rosen_hess_prod scipy.optimize._optimize.rosen_hess

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_optimize.py#416
type: <class 'function'>
Commit: