CppAD: A C++ Algorithmic Differentiation Package
20130102
|
00001 /* $Id$ */ 00002 # ifndef CPPAD_USER_AD_INCLUDED 00003 # define CPPAD_USER_AD_INCLUDED 00004 00005 /* -------------------------------------------------------------------------- 00006 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell 00007 00008 CppAD is distributed under multiple licenses. This distribution is under 00009 the terms of the 00010 Eclipse Public License Version 1.0. 00011 00012 A copy of this license is included in the COPYING file of this distribution. 00013 Please visit http://www.coin-or.org/CppAD/ for information on other licenses. 00014 -------------------------------------------------------------------------- */ 00015 /* 00016 --------------------------------------------------------------------------- 00017 00018 $begin AD$$ 00019 $spell 00020 std 00021 bool 00022 cos 00023 Cpp 00024 $$ 00025 00026 $section AD Objects$$ 00027 00028 $index AD, object$$ 00029 00030 $head Purpose$$ 00031 The sections listed below describe the operations 00032 that are available to $cref/AD of Base/glossary/AD of Base/$$ objects. 00033 These objects are used to $cref/tape/glossary/Tape/$$ 00034 an AD of $icode Base$$ 00035 $cref/operation sequence/glossary/Operation/Sequence/$$. 00036 This operation sequence can 00037 be transferred to an $cref ADFun$$ object where it 00038 can be used to evaluate the corresponding 00039 function and derivative values. 00040 00041 $head Base Type Requirements$$ 00042 $index Base, require$$ 00043 The $icode Base$$ requirements are provided by the CppAD package 00044 for the following base types: 00045 $code float$$, 00046 $code double$$, 00047 $code std::complex<float>$$, 00048 $code std::complex<double>$$. 00049 Otherwise, see $cref base_require$$. 00050 00051 00052 $childtable% 00053 cppad/local/ad_ctor.hpp% 00054 cppad/local/ad_assign.hpp% 00055 cppad/local/convert.hpp% 00056 cppad/local/ad_valued.hpp% 00057 cppad/local/bool_valued.hpp% 00058 cppad/local/vec_ad.hpp% 00059 cppad/base_require.hpp 00060 %$$ 00061 00062 $end 00063 --------------------------------------------------------------------------- 00064 */ 00065 00066 # include <cppad/local/ad_ctor.hpp> 00067 # include <cppad/local/ad_assign.hpp> 00068 # include <cppad/local/convert.hpp> 00069 # include <cppad/local/vec_ad.hpp> 00070 # include <cppad/local/ad_valued.hpp> 00071 # include <cppad/local/bool_valued.hpp> 00072 00073 # endif