OptTestFunRosenbrock:
--------------------------------------------------------------------------
Rosenbrock test function.
f = 100*(x(1)^2-x(2))^2 + (1-x(1))^2
Since version 7.
--------------------------------------------------------------------------
Form:
f = OptTestFunRosenbrock( x, d )
--------------------------------------------------------------------------
------
Inputs
------
x (2,1) Value of x
d (1,1) Structure to pass to fun (not used)
-------
Outputs
-------
f (1,1) Cost
--------------------------------------------------------------------------