CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cppad.hpp
Go to the documentation of this file.
1 // $Id: cppad.hpp 3845 2016-11-19 01:50:47Z bradbell $
2 # ifndef CPPAD_CPPAD_HPP
3 # define CPPAD_CPPAD_HPP
4 /* --------------------------------------------------------------------------
5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
6 
7 CppAD is distributed under multiple licenses. This distribution is under
8 the terms of the
9  Eclipse Public License Version 1.0.
10 
11 A copy of this license is included in the COPYING file of this distribution.
12 Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
13 -------------------------------------------------------------------------- */
14 /*!
15 \file cppad.hpp
16 \brief includes the entire CppAD package in the necessary order.
17 
18 \namespace CppAD
19 \brief contains all the variables and functions defined by the CppAD package.
20 */
21 
22 # include <cppad/base_require.hpp> // all base type requirements
23 // ---------------------------------------------------------------------------
24 // CppAD general purpose library routines (can be included separately)
25 # include <cppad/utility.hpp>
26 // --------------------------------------------------------------------------
27 // System routines that can be used by rest of CppAD with out including
28 
29 # include <cstddef>
30 # include <iostream>
31 # include <complex>
32 # include <cmath>
33 
34 // ---------------------------------------------------------------------------
35 // definitions needed by rest of includes
36 
37 // definitions that come from the installation
38 # include <cppad/configure.hpp>
39 
40 // definitions that are local to the CppAD include files
41 # include <cppad/core/define.hpp>
42 
43 // vectors used with CppAD
44 # include <cppad/core/testvector.hpp>
45 
46 // deprecated vectors used with CppAD
48 
49 // Declare classes and fucntions that are used before defined
51 
52 // ---------------------------------------------------------------------------
53 // declare the AD<Base> template class
54 
55 # include <cppad/core/ad.hpp>
56 
57 // ---------------------------------------------------------------------------
58 
59 # include <cppad/core/user_ad.hpp> // AD class methods available to the user
60 // tape that tape for AD<Base> acts as a user of Base operations
61 // so user_ad.hpp must come before op.hpp
62 # include <cppad/local/op.hpp> // executes taped operations
63 # include <cppad/core/ad_fun.hpp> // ADFun objects
64 
65 // ---------------------------------------------------------------------------
66 // library routines that require the rest of CppAD
67 # include <cppad/core/lu_ratio.hpp>
70 
71 // undo definitions in Define.h
72 # include <cppad/core/undef.hpp>
73 
74 # endif
Define processor symbols and macros that are used by CppAD.
CppAD forward declarations; i.e., before definition.
Computing Jabobians and Hessians of Optimal Values.
File used to define the ADFun&lt;Base&gt; class.