Example

View page source

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