\(\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}} }\)
get_cppadcg.sh¶
Download and Install CppADCodeGen in Build Directory¶
Purpose¶
If you are using Unix, this command will download and install
cppadcg
in the CppAD build
directory.
Requirements¶
You must first use get_eigen.sh to download and install Eigen.
Distribution Directory¶
This command must be executed in the Distribution Directory .
Source Directory¶
The Cppadcg source code is downloaded into the sub-directory
external/cppadcg.git
below the distribution directory.
Git Hash¶
This will install the commit of Cppadcg with the following git hash
git_hash='b5307ad'
The date corresponding to this commit was 20201009.
Configuration¶
If the file
external/cppadcg-
git_hash .configured
exists, the configuration will be skipped. Delete this file if you want to re-run the configuration.
Documentation¶
If you change the setting for CREATE_DOXYGEN_DOC
to ON
,
the doxygen documentation for CppADCodeGen will be installed in the directory
prefix /
share/doc/cppadcg/html
where prefix has the value specified in the get_optional.sh file.