scipy.optimize.rosen_der

scipy.optimize.rosen_der(x)[source]

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

Parameters :

x : array_like, 1D

The point at which the derivative is to be computed.

Returns :

der : 1D numpy array

The gradient of the Rosenbrock function at x.

Previous topic

scipy.optimize.rosen

Next topic

scipy.optimize.rosen_hess