The Rosenbrock function.
The function computed is
sum(100.0*(x[1:] - x[:-1]**2.0)**2.0 + (1 - x[:-1])**2.0
x : array_like, 1D
The point at which the Rosenbrock function is to be computed.
f : float
The value of the Rosenbrock function
See also
rosen_der, rosen_hess, rosen_hess_prod
scipy.optimize.bracket
scipy.optimize.rosen_der
Enter search terms or a module, class or function name.