Prev Next

@(@\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}} }@)@
Examples

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 to determine which SimpleVector template class is used with the examples.

Contents
Getting Started Using CppAD to Compute Derivatives
General Examples
Utility Routines used by CppAD Examples
List All (Except Deprecated) CppAD Examples
Using The CppAD Test Vector Template Class
Suppress Suspect Implicit Conversion Warnings

Input File: omh/example.omh