\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
Example¶
View page sourceExamples¶
Introduction¶
This section organizes the information related to the CppAD examples. Each CppAD operation has its own specific example, for example add.cpp is an example for addition . Some of the examples are of a more general nature (not connected of a specific feature of CppAD). In addition, there are some utility functions that are used by the examples.
get_started¶
The get_started.cpp example is a good place to start using CppAD.
Running Examples¶
The installation instructions show how the examples can be run on your system.
The CppAD Test Vector Template Class¶
Many of the examples use the CPPAD_TESTVECTOR
preprocessor symbol
( see testvector )
to determine which SimpleVector template class is used with
the examples.
Contents¶
Name |
Title |
---|---|
get_started.cpp |
|
list_all_examples |
|
General |
|
example_driver |
|
testvector |
|
wno_conversion |