Antonio Coppola edited C++ Functions.tex  over 9 years ago

Commit id: 53480673bf0fb7b68d17a026057d92f0828a9e09

deletions | additions      

       

\section{Implementing the Objective and Gradient in C++}  The package is effectively a wrapper built around the libLBFGS supports the implementation of the objective and gradient functions in C++, which may yield significant speed improvements over the respective R implementations. The optimization routine's  API accepts both R function objects and external pointers to compiled C++ functions. To perform optimization on the Rosenbrock function, we begin by defining their C++ implementation as character strings:  \begin{lstlisting}  \end{lstlisting}