Prev
Next
Index->
contents
reference
index
search
external
Up->
CppAD
Example
General
CppAD->
Install
Introduction
AD
ADFun
preprocessor
multi_thread
utility
ipopt_solve
Example
speed
Appendix
Example->
get_started.cpp
General
ExampleUtility
ListAllExamples
testvector
wno_conversion
General->
ad_fun.cpp
ad_in_c.cpp
conj_grad.cpp
cppad_eigen.hpp
hes_minor_det.cpp
hes_lu_det.cpp
interface2c.cpp
jac_minor_det.cpp
jac_lu_det.cpp
mul_level
ode_stiff.cpp
mul_level_ode.cpp
mul_level_adolc_ode.cpp
ode_taylor.cpp
stack_machine.cpp
Headings->
Description
Contents
@(@\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}} }@)@
General Examples
Description
Most of the examples in CppAD are part of the documentation for a specific feature; for example,
add.cpp
is an example using the
addition operator
. The examples list in this section are of a more general nature.
Contents
ad_fun.cpp
Creating Your Own Interface to an ADFun Object
ad_in_c.cpp
Example and Test Linking CppAD to Languages Other than C++
conj_grad.cpp
Differentiate Conjugate Gradient Algorithm: Example and Test
cppad_eigen.hpp
Enable Use of Eigen Linear Algebra Package with CppAD
hes_minor_det.cpp
Gradient of Determinant Using Expansion by Minors: Example and Test
hes_lu_det.cpp
Gradient of Determinant Using LU Factorization: Example and Test
interface2c.cpp
Interfacing to C: Example and Test
jac_minor_det.cpp
Gradient of Determinant Using Expansion by Minors: Example and Test
jac_lu_det.cpp
Gradient of Determinant Using Lu Factorization: Example and Test
mul_level
Using Multiple Levels of AD
ode_stiff.cpp
A Stiff Ode: Example and Test
mul_level_ode.cpp
Taylor's Ode Solver: A Multi-Level AD Example and Test
mul_level_adolc_ode.cpp
Taylor's Ode Solver: A Multi-Level Adolc Example and Test
ode_taylor.cpp
Taylor's Ode Solver: An Example and Test
stack_machine.cpp
Example Differentiating a Stack Machine Interpreter
Input File: omh/example_list.omh