Prev Next cppadcg

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@ This is cppad-20221105 documentation. Here is a link to its current documentation .
Including CppADCodeGen Examples and Tests

CppADCodeGen Home Page

CppAD includes examples and test that use the CppADCodeGen package, abbreviated as cppadcg, see: code_gen_fun .

If include_cppadcg=true is on the cmake command line, then the pkg-config will find the necessary information to include cppadcg. The value of PKG_CONFIG_PATH must be such that the command
    pkg-config cppadcg --path --print-errors
finds the location of the file cppadcg.pc.

Speed Tests
If include_cppadcg=true is on the cmake command line, you will be able to run the cppadcg speed correctness tests by executing the following commands starting in the distribution directory :
    cd build/speed/cppadcg
    make check_speed_cppadcg
After executing make check_speed_cppadcg, you can run a specific cppadcg speed test by executing the command ./speed_cppadcg; see speed_main for the meaning of the command line options to this program.

If you are using Unix, you can download and install a copy of cppadcg using . The corresponding install prefix is build/prefix.
Input File: omh/install/cppadcg.omh