I am trying to find the counterpart of R's optimize function in C++ when using Rcpp. Any suggestions?
I read ?optimize and found the url to the c code
http://www.netlib.org/fmm/fmin.f
thanks for the reply. I am looking for something from existing packages like Eigen, Boost, etc.
I guess it depends on what you mean by counterpart. What I provided is literally the r function as a c implementation
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.