Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
A non-convex mathematical function that is commonly used as a benchmark problem in optimization
ResourceFunction["RosenbrockFunction"][x,y] computes the Rosenbrock function for the given x and y. | |
ResourceFunction["RosenbrockFunction"][x,y,a,b] computes the Rosenbrock function for the given x and y and parameters a and b. |
Find the minimum value of the Rosenbrock function:
In[1]:= |
Out[1]= |
Visualize the Rosenbrock function and show the location of its minimum value:
In[2]:= |
Out[2]= |
Compute the gradient:
In[3]:= |
Out[3]= |
Make a vector plot of the gradient:
In[4]:= |
Out[4]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License