Sun Mar 15 13:34:02 2020 gd_test R version 3.4.4 (2018-03-15) gd seeks the minimum of a function using gradient descent. gd((x-1)^2+(y-2)^2,[0,0],0.05,m=5) = 0.468559 0.953344 gd((x-1)^2+(y-2)^2,[0,0],0.05,m=20) = 0.890581 0.9999781 gd_test Normal end of execution. Sun Mar 15 13:34:02 2020