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

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.

ad_fun.cppCreating Your Own Interface to an ADFun Object
ad_in_c.cppExample and Test Linking CppAD to Languages Other than C++
conj_grad.cppDifferentiate Conjugate Gradient Algorithm: Example and Test
cppad_eigen.hppEnable Use of Eigen Linear Algebra Package with CppAD
hes_minor_det.cppGradient of Determinant Using Expansion by Minors: Example and Test
hes_lu_det.cppGradient of Determinant Using LU Factorization: Example and Test
interface2c.cppInterfacing to C: Example and Test
jac_minor_det.cppGradient of Determinant Using Expansion by Minors: Example and Test
jac_lu_det.cppGradient of Determinant Using Lu Factorization: Example and Test
mul_levelUsing Multiple Levels of AD
ode_stiff.cppA Stiff Ode: Example and Test
mul_level_ode.cppTaylor's Ode Solver: A Multi-Level AD Example and Test
mul_level_adolc_ode.cppTaylor's Ode Solver: A Multi-Level Adolc Example and Test
ode_taylor.cppTaylor's Ode Solver: An Example and Test
stack_machine.cppExample Differentiating a Stack Machine Interpreter

Input File: omh/example_list.omh