lines 8-53 of file: cpp/include/cmpad/cppad/cppad.hpp {xrst_begin include_cppad} {xrst_spell Gen } Including CppAD and CppADCodeGen ################################ Discussion ********** The inclusion of ``cppad.hpp`` is make complicated by the fact that all the user defined AD base types must be defined before it is included. This is further complicated by the fact that the ``cppadcg.hpp`` file incudes ``cppad.hpp`` . Source Code *********** {xrst_spell_off} {xrst_code hpp} */ // This include file does nothing when the CppAD pakage has not been installed # if CMPAD_HAS_CPPAD // // define utilities to make it easier to define an AD base type # include // // define the valvector AD base type # include // // If the CppADCodeGen package has been installed, // define the template class CppAD::cg_CG for use as an AD base type # if CMPAD_HAS_CPPADCG # include # endif // // include cppad.hpp (if not already included by cppadcg.hpp) # include // // define the valvector summation atomic function (requires cppad.hpp) # include // # endif /* {xrst_code} {xrst_spell_on} {xrst_end include_cppad}