The rosen test directory has examples of the Rosenbrock function which is \(f(x,y) = 100(y-x^2)^2 + (1-x)^2\)
Because the Rosenbrock function is a simple polynomial, the Smolyak method provides the best approach. However, Monte Carlo and Latin Hypecube examples are provided for comparison.
Different test programs which implement the Rosenbrock function are provided as examples of using Python, C, and Matlab code.