1 function g = rosenbrock_gradient1(x)
3 ## A version of the rosenbrock_gradient() function which takes a
4 ## column 2-vector instead of two distinct arguments. See
5 ## rosenbrock_gradient.m for more information.
8 g = rosenbrock_gradient(x(1), x(2));