\(\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¶
View page sourceDownload and Install CppADCodeGen in Build Directory¶
Syntax¶
bin/get_cppadcg.sh
Purpose¶
If you are using Unix, this command will download and install
cppadcg
in the CppAD build
directory.
Requirements¶
You must first use your package manager to 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.
Prefix¶
The prefix
in the file bin/get_optional.sh
is used for this install.
Git Hash¶
This will install the commit of Cppadcg with the following git hash
git_hash='e15c57207ea42a9572e9ed44df1894e09f7ce67e'
The date corresponding to this commit was 2024-06-16.
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.