SciPy

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

scipy.optimize.rosen_der

scipy.optimize.rosen_der(x)[source]

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

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.

Previous topic

scipy.optimize.rosen

Next topic

scipy.optimize.rosen_hess