1 | # ifndef CPPAD_USER_AD_INCLUDED |
---|

2 | # define CPPAD_USER_AD_INCLUDED |
---|

3 | |
---|

4 | /* -------------------------------------------------------------------------- |
---|

5 | CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell |
---|

6 | |
---|

7 | CppAD is distributed under multiple licenses. This distribution is under |
---|

8 | the terms of the |
---|

9 | Common 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 | --------------------------------------------------------------------------- |
---|

16 | |
---|

17 | $begin AD$$ |
---|

18 | $spell |
---|

19 | std |
---|

20 | bool |
---|

21 | cos |
---|

22 | Cpp |
---|

23 | $$ |
---|

24 | |
---|

25 | $section AD Objects$$ |
---|

26 | |
---|

27 | $index AD, object$$ |
---|

28 | |
---|

29 | $head Purpose$$ |
---|

30 | The sections listed below describe the operations |
---|

31 | that are available to $xref/glossary/AD of Base/AD of Base/$$ objects. |
---|

32 | These objects are used to $cref/tape/glossary/Tape/$$ |
---|

33 | an AD of $italic Base$$ |
---|

34 | $xref/glossary/Operation/Sequence/operation sequence/1/$$. |
---|

35 | This operation sequence can |
---|

36 | be transferred to an $xref/ADFun/$$ object where it |
---|

37 | can be used to evaluate the corresponding |
---|

38 | function and derivative values. |
---|

39 | |
---|

40 | $head Base Type Requirements$$ |
---|

41 | $index Base, require$$ |
---|

42 | The $italic 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/local/default.hpp% |
---|

53 | cppad/local/ad_copy.hpp% |
---|

54 | cppad/local/convert.hpp% |
---|

55 | cppad/local/ad_valued.hpp% |
---|

56 | cppad/local/bool_valued.hpp% |
---|

57 | cppad/local/vec_ad.hpp% |
---|

58 | omh/base_require.omh |
---|

59 | %$$ |
---|

60 | |
---|

61 | $end |
---|

62 | --------------------------------------------------------------------------- |
---|

63 | */ |
---|

64 | |
---|

65 | # include <cppad/local/default.hpp> |
---|

66 | # include <cppad/local/ad_copy.hpp> |
---|

67 | # include <cppad/local/convert.hpp> |
---|

68 | # include <cppad/local/vec_ad.hpp> |
---|

69 | # include <cppad/local/ad_valued.hpp> |
---|

70 | # include <cppad/local/bool_valued.hpp> |
---|

71 | |
---|

72 | # endif |
---|