Example

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

Contents

Name

Title

get_started.cpp

Getting Started Using CppAD to Compute Derivatives

list_all_examples

List All (Except Deprecated) CppAD Examples

General

General Examples

example_driver

Utility Routines used by CppAD Examples

testvector

Using The CppAD Test Vector Template Class

wno_conversion

Suppress Suspect Implicit Conversion Warnings