CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
user_ad.hpp
Go to the documentation of this file.
1 // $Id$
2 # ifndef CPPAD_CORE_USER_AD_HPP
3 # define CPPAD_CORE_USER_AD_HPP
4 
5 /* --------------------------------------------------------------------------
6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
7 
8 CppAD is distributed under multiple licenses. This distribution is under
9 the terms of the
10  Eclipse Public License Version 1.0.
11 
12 A copy of this license is included in the COPYING file of this distribution.
13 Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
14 -------------------------------------------------------------------------- */
15 /*
16 ---------------------------------------------------------------------------
17 
18 $begin AD$$
19 $spell
20  std
21  bool
22  cos
23  Cpp
24 $$
25 
26 $section AD Objects$$
27 $mindex require$$
28 
29 
30 $head Purpose$$
31 The sections listed below describe the operations
32 that are available to $cref/AD of Base/glossary/AD of Base/$$ objects.
33 These objects are used to $cref/tape/glossary/Tape/$$
34 an AD of $icode Base$$
35 $cref/operation sequence/glossary/Operation/Sequence/$$.
36 This operation sequence can
37 be transferred to an $cref ADFun$$ object where it
38 can be used to evaluate the corresponding
39 function and derivative values.
40 
41 $head Base Type Requirements$$
42 The $icode Base$$ requirements are provided by the CppAD package
43 for the following base types:
44 $code float$$,
45 $code double$$,
46 $code std::complex<float>$$,
47 $code std::complex<double>$$.
48 Otherwise, see $cref base_require$$.
49 
50 
51 $childtable%
52  cppad/core/ad_ctor.hpp%
53  cppad/core/ad_assign.hpp%
54  cppad/core/convert.hpp%
55  cppad/core/ad_valued.hpp%
56  cppad/core/bool_valued.hpp%
57  cppad/core/vec_ad.hpp%
58  cppad/base_require.hpp
59 %$$
60 
61 $end
62 ---------------------------------------------------------------------------
63 */
64 
65 # include <cppad/core/ad_ctor.hpp>
66 # include <cppad/core/ad_assign.hpp>
67 # include <cppad/core/convert.hpp>
68 # include <cppad/core/vec_ad.hpp>
69 # include <cppad/core/ad_valued.hpp>
71 # include <cppad/core/zdouble.hpp>
72 
73 # endif
Defines the VecAD&lt;Base&gt; class.
Define a class like double but with an absolute zero.
AD&lt;Base&gt; constructors and and copy operations.
AD&lt;Base&gt; constructors and and copy operations.