scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
rosen_der(x)

Parameters

x : array_like

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

Returns

rosen_der : (N,) ndarray

The gradient of the Rosenbrock function at x.

The derivative (i.e. gradient) of the Rosenbrock function.

See Also

rosen
rosen_hess
rosen_hess_prod

Examples

>>> from scipy.optimize import rosen_der
... X = 0.1 * np.arange(9)
... rosen_der(X) array([ -2. , 10.6, 15.6, 13.4, 6.4, -3. , -12.4, -19.4, 62. ])
See :

Back References

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

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

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#339
type: <class 'function'>
Commit: