this is for holding javascript data
Antonio Coppola edited C++ Functions.tex
over 9 years ago
Commit id: 1f35203c524a8d3ae78a8651fcb96b986b5079f7
deletions | additions
diff --git a/C++ Functions.tex b/C++ Functions.tex
index bbfe87d..a2cf71b 100644
--- a/C++ Functions.tex
+++ b/C++ Functions.tex
...
\section{Implementing the Objective and Gradient in C++}
The package 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 the C++
implementation implementations of the objective and of the gradient as character strings:
\begin{lstlisting}