powered by
Rosenbrock Test Function (2-dim)
funRosen2(x)
matrix of points to evaluate with the function. Rows for points and columns for dimension.
1-column matrix with resulting function values
# NOT RUN { x1 <- matrix(c(-pi, 12.275),1,) funRosen2(x1) # }
Run the code above in your browser using DataLab