Prev Next ListAllExamples Headings

@(@\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}} }@)@
List All (Except Deprecated) CppAD Examples
a11c_bthread.cpp A Simple Boost Thread Example and Test
a11c_openmp.cpp A Simple OpenMP Example and Test
a11c_pthread.cpp A Simple Parallel Pthread Example and Test
abort_recording.cpp Abort Current Recording: Example and Test
abs_eval.cpp abs_eval: Example and Test
abs_eval.hpp abs_eval Source Code
abs_get_started.cpp abs_normal Getting Started: Example and Test
abs_min_linear.cpp abs_min_linear: Example and Test
abs_min_linear.hpp abs_min_linear Source Code
abs_min_quad.cpp abs_min_quad: Example and Test
abs_min_quad.hpp abs_min_quad Source Code
acos.cpp The AD acos Function: Example and Test
acosh.cpp The AD acosh Function: Example and Test
ad_assign.cpp AD Assignment: Example and Test
ad_ctor.cpp AD Constructors: Example and Test
add.cpp AD Binary Addition: Example and Test
AddEq.cpp AD Compound Assignment Addition: Example and Test
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++
ad_input.cpp AD Output Operator: Example and Test
ad_output.cpp AD Output Operator: Example and Test
asin.cpp The AD asin Function: Example and Test
asinh.cpp The AD asinh Function: Example and Test
atan2.cpp The AD atan2 Function: Example and Test
atan.cpp The AD atan Function: Example and Test
atanh.cpp The AD atanh Function: Example and Test
atomic_eigen_cholesky.cpp Atomic Eigen Cholesky Factorization: Example and Test
atomic_eigen_cholesky.hpp Atomic Eigen Cholesky Factorization Class
atomic_eigen_mat_inv.cpp Atomic Eigen Matrix Inverse: Example and Test
atomic_eigen_mat_inv.hpp Atomic Eigen Matrix Inversion Class
atomic_eigen_mat_mul.cpp Atomic Eigen Matrix Multiply: Example and Test
atomic_eigen_mat_mul.hpp Atomic Eigen Matrix Multiply Class
atomic_for_sparse_hes.cpp Atomic Forward Hessian Sparsity: Example and Test
atomic_for_sparse_jac.cpp Atomic Forward Jacobian Sparsity: Example and Test
atomic_forward.cpp Atomic Forward: Example and Test
atomic_get_started.cpp Getting Started with Atomic Operations: Example and Test
atomic_mat_mul.cpp User Atomic Matrix Multiply: Example and Test
atomic_mat_mul.hpp Matrix Multiply as an Atomic Operation
atomic_mul_level.cpp Atomic Operations and Multiple-Levels of AD: Example and Test
atomic_norm_sq.cpp Atomic Euclidean Norm Squared: Example and Test
atomic_reciprocal.cpp Reciprocal as an Atomic Operation: Example and Test
atomic_reverse.cpp Atomic Reverse: Example and Test
atomic_rev_sparse_hes.cpp Atomic Reverse Hessian Sparsity: Example and Test
atomic_rev_sparse_jac.cpp Atomic Reverse Jacobian Sparsity: Example and Test
atomic_set_sparsity.cpp Atomic Sparsity with Set Patterns: Example and Test
atomic_tangent.cpp Tan and Tanh as User Atomic Operations: Example and Test
azmul.cpp AD Absolute Zero Multiplication: Example and Test
base_adolc.hpp Enable use of AD<Base> where Base is Adolc's adouble Type
base_alloc.hpp Example AD<Base> Where Base Constructor Allocates Memory
base_complex.hpp Enable use of AD<Base> where Base is std::complex<double>
base_require.cpp Using a User Defined AD Base Type: Example and Test
bender_quad.cpp BenderQuad: Example and Test
bool_fun.cpp AD Boolean Functions: Example and Test
capacity_order.cpp Controlling Taylor Coefficient Memory Allocation: Example and Test
change_param.cpp Computing a Jacobian With Constants that Change
check_for_nan.cpp ADFun Checking For Nan: Example and Test
check_numeric_type.cpp The CheckNumericType Function: Example and Test
checkpoint.cpp Simple Checkpointing: Example and Test
checkpoint_extended_ode.cpp Checkpointing an Extended ODE Solver: Example and Test
checkpoint_ode.cpp Checkpointing an ODE Solver: Example and Test
check_simple_vector.cpp The CheckSimpleVector Function: Example and Test
colpack_hes.cpp ColPack: Sparse Hessian Example and Test
colpack_hessian.cpp ColPack: Sparse Hessian Example and Test
colpack_jac.cpp ColPack: Sparse Jacobian Example and Test
colpack_jacobian.cpp ColPack: Sparse Jacobian Example and Test
compare_change.cpp CompareChange and Re-Tape: Example and Test
compare.cpp AD Binary Comparison Operators: Example and Test
complex_poly.cpp Complex Polynomial: Example and Test
cond_exp.cpp Conditional Expressions: Example and Test
conj_grad.cpp Differentiate Conjugate Gradient Algorithm: Example and Test
cos.cpp The AD cos Function: Example and Test
cosh.cpp The AD cosh Function: Example and Test
cppad_eigen.hpp Enable Use of Eigen Linear Algebra Package with CppAD
cppad_vector.cpp CppAD::vector Template Class: Example and Test
dependency.cpp Computing Dependency: Example and Test
det_by_lu.cpp Determinant Using Lu Factorization: Example and Test
det_by_minor.cpp Determinant Using Expansion by Minors: Example and Test
det_of_minor.cpp Determinant of a Minor: Example and Test
div.cpp AD Binary Division: Example and Test
div_eq.cpp AD Compound Assignment Division: Example and Test
eigen_array.cpp Using Eigen Arrays: Example and Test
eigen_det.cpp Using Eigen To Compute Determinant: Example and Test
elapsed_seconds.cpp Elapsed Seconds: Example and Test
equal_op_seq.cpp EqualOpSeq: Example and Test
erf.cpp The AD erf Function: Example and Test
error_handler.cpp Replacing The CppAD Error Handler: Example and Test
exp.cpp The AD exp Function: Example and Test
expm1.cpp The AD exp Function: Example and Test
expm1.cpp The AD exp Function: Example and Test
fabs.cpp AD Absolute Value Function: Example and Test
for_hes_sparsity.cpp Forward Mode Hessian Sparsity: Example and Test
for_jac_sparsity.cpp Forward Mode Jacobian Sparsity: Example and Test
for_one.cpp First Order Partial Driver: Example and Test
for_sparse_hes.cpp Forward Mode Hessian Sparsity: Example and Test
for_sparse_jac.cpp Forward Mode Jacobian Sparsity: Example and Test
for_two.cpp Subset of Second Order Partials: Example and Test
forward.cpp Forward Mode: Example and Test
forward_dir.cpp Forward Mode: Example and Test of Multiple Directions
forward_order.cpp Forward Mode: Example and Test of Multiple Orders
fun_assign.cpp ADFun Assignment: Example and Test
fun_check.cpp ADFun Check and Re-Tape: Example and Test
general.cpp CppAD Examples and Tests
get_started.cpp Getting Started Using CppAD to Compute Derivatives
harmonic.cpp Multi-Threading Harmonic Summation Example / Test
hes_lagrangian.cpp Hessian of Lagrangian and ADFun Default Constructor: Example and Test
hes_lu_det.cpp Gradient of Determinant Using LU Factorization: Example and Test
hes_minor_det.cpp Gradient of Determinant Using Expansion by Minors: Example and Test
hessian.cpp Hessian: Example and Test
hes_times_dir.cpp Hessian Times Direction: Example and Test
independent.cpp Independent and ADFun Constructor: Example and Test
index_sort.cpp Index Sort: Example and Test
integer.cpp Convert From AD to Integer: Example and Test
interface2c.cpp Interfacing to C: Example and Test
interp_onetape.cpp Interpolation With Out Retaping: Example and Test
interp_retape.cpp Interpolation With Retaping: Example and Test
ipopt_solve_get_started.cpp Nonlinear Programming Using CppAD and Ipopt: Example and Test
ipopt_solve_ode_inverse.cpp ODE Inverse Problem Definitions: Source Code
ipopt_solve_retape.cpp Nonlinear Programming Retaping: Example and Test
jac_lu_det.cpp Gradient of Determinant Using Lu Factorization: Example and Test
jac_minor_det.cpp Gradient of Determinant Using Expansion by Minors: Example and Test
jacobian.cpp Jacobian: Example and Test
log10.cpp The AD log10 Function: Example and Test
log1p.cpp The AD log1p Function: Example and Test
log.cpp The AD log Function: Example and Test
lp_box.cpp abs_normal lp_box: Example and Test
lp_box.hpp lp_box Source Code
lu_factor.cpp LuFactor: Example and Test
lu_invert.cpp LuInvert: Example and Test
lu_ratio.cpp LuRatio: Example and Test
lu_solve.cpp LuSolve With Complex Arguments: Example and Test
lu_vec_ad_ok.cpp Lu Factor and Solve With Recorded Pivoting: Example and Test
mat_sum_sq.cpp Sum of the Elements of the Square of a Matrix: Example and Test
min_nso_linear.cpp abs_normal min_nso_linear: Example and Test
min_nso_linear.hpp min_nso_linear Source Code
min_nso_quad.cpp abs_normal min_nso_quad: Example and Test
min_nso_quad.hpp min_nso_quad Source Code
mul.cpp AD Binary Multiplication: Example and Test
mul_eq.cpp AD Compound Assignment Multiplication: Example and Test
mul_level_adolc.cpp Using Adolc with Multiple Levels of Taping: Example and Test
mul_level_adolc_ode.cpp Taylor's Ode Solver: A Multi-Level Adolc Example and Test
mul_level.cpp Multiple Level of AD: Example and Test
mul_level_ode.cpp Taylor's Ode Solver: A Multi-Level AD Example and Test
multi_atomic.cpp Multi-Threading User Atomic Example / Test
multi_newton.cpp Multi-Threaded Newton Method Example / Test
nan.cpp nan: Example and Test
near_equal.cpp NearEqual Function: Example and Test
near_equal_ext.cpp Compare AD with Base Objects: Example and Test
number_skip.cpp Number of Variables That Can be Skipped: Example and Test
numeric_type.cpp The NumericType: Example and Test
num_limits.cpp Numeric Limits: Example and Test
ode_err_control.cpp OdeErrControl: Example and Test
ode_err_maxabs.cpp OdeErrControl: Example and Test Using Maxabs Argument
ode_evaluate.cpp ode_evaluate: Example and test
ode_gear_control.cpp OdeGearControl: Example and Test
ode_gear.cpp OdeGear: Example and Test
ode_stiff.cpp A Stiff Ode: Example and Test
ode_taylor.cpp Taylor's Ode Solver: An Example and Test
optimize_compare_op.cpp Example Optimization and Comparison Operators
optimize_conditional_skip.cpp Example Optimization and Conditional Expressions
optimize_cumulative_sum.cpp Example Optimization and Cumulative Sum Operations
optimize_forward_active.cpp Example Optimization and Forward Activity Analysis
optimize_nest_conditional.cpp Example Optimization and Nested Conditional Expressions
optimize_print_for.cpp Example Optimization and Print Forward Operators
optimize_reverse_active.cpp Example Optimization and Reverse Activity Analysis
opt_val_hes.cpp opt_val_hes: Example and Test
par_var.cpp AD Parameter and Variable Functions: Example and Test
poly.cpp Polynomial Evaluation: Example and Test
pow.cpp The AD Power Function: Example and Test
pow_int.cpp The Pow Integer Exponent: Example and Test
print_for_cout.cpp Printing During Forward Mode: Example and Test
print_for_string.cpp Print During Zero Order Forward Mode: Example and Test
qp_box.cpp abs_normal qp_box: Example and Test
qp_box.hpp qp_box Source Code
qp_interior.cpp abs_normal qp_interior: Example and Test
qp_interior.hpp qp_interior Source Code
rc_sparsity.cpp Preferred Sparsity Patterns: Row and Column Indices: Example and Test
reverse_checkpoint.cpp Reverse Mode General Case (Checkpointing): Example and Test
reverse_one.cpp First Order Reverse Mode: Example and Test
reverse_three.cpp Third Order Reverse Mode: Example and Test
reverse_two.cpp Second Order Reverse ModeExample and Test
rev_hes_sparsity.cpp Reverse Mode Hessian Sparsity: Example and Test
rev_jac_sparsity.cpp Reverse Mode Jacobian Sparsity: Example and Test
rev_one.cpp First Order Derivative Driver: Example and Test
rev_sparse_hes.cpp Reverse Mode Hessian Sparsity: Example and Test
rev_sparse_jac.cpp Reverse Mode Jacobian Sparsity: Example and Test
rev_two.cpp Second Partials Reverse Driver: Example and Test
Rombergmul.cpp One Dimensional Romberg Integration: Example and Test
romberg_one.cpp One Dimensional Romberg Integration: Example and Test
rosen_34.cpp Rosen34: Example and Test
runge45_1.cpp Runge45: Example and Test
runge45_2.cpp Runge45: Example and Test
seq_property.cpp ADFun Sequence Properties: Example and Test
set_union.cpp Set Union: Example and Test
simple_ad_bthread.cpp A Simple Boost Threading AD: Example and Test
simple_ad_openmp.cpp A Simple OpenMP AD: Example and Test
simple_ad_pthread.cpp A Simple pthread AD: Example and Test
simple_vector.cpp Simple Vector Template Class: Example and Test
simplex_method.cpp abs_normal simplex_method: Example and Test
simplex_method.hpp simplex_method Source Code
sin.cpp The AD sin Function: Example and Test
sinh.cpp The AD sinh Function: Example and Test
sparse_hes.cpp Computing Sparse Hessian: Example and Test
sparse_hes_fun.cpp sparse_hes_fun: Example and test
sparse_hessian.cpp Sparse Hessian: Example and Test
sparse_jac_for.cpp Computing Sparse Jacobian Using Forward Mode: Example and Test
sparse_jac_fun.cpp sparse_jac_fun: Example and test
sparse_jacobian.cpp Sparse Jacobian: Example and Test
sparse_jac_rev.cpp Computing Sparse Jacobian Using Reverse Mode: Example and Test
sparse_rc.cpp sparse_rc: Example and Test
sparse_rcv.cpp sparse_rcv: Example and Test
sparse_sub_hes.cpp Subset of a Sparse Hessian: Example and Test
sparsity_sub.cpp Sparsity Patterns For a Subset of Variables: Example and Test
speed_example.cpp Run the Speed Examples
speed_program.cpp Example Use of SpeedTest
speed_test.cpp speed_test: Example and test
sqrt.cpp The AD sqrt Function: Example and Test
stack_machine.cpp Example Differentiating a Stack Machine Interpreter
sub.cpp AD Binary Subtraction: Example and Test
sub_eq.cpp AD Compound Assignment Subtraction: Example and Test
subgraph_hes2jac.cpp Sparse Hessian Using Subgraphs and Jacobian: Example and Test
subgraph_jac_rev.cpp Computing Sparse Jacobian Using Reverse Mode: Example and Test
subgraph_reverse.cpp Computing Reverse Mode on Subgraphs: Example and Test
subgraph_sparsity.cpp Subgraph Dependency Sparsity Patterns: Example and Test
sub_sparse_hes.cpp Computing Sparse Hessian for a Subset of Variables
tan.cpp The AD tan Function: Example and Test
tanh.cpp The AD tanh Function: Example and Test
tape_index.cpp Taping Array Index Operation: Example and Test
team_bthread.cpp Boost Thread Implementation of a Team of AD Threads
team_example.cpp Using a Team of AD Threads: Example and Test
team_openmp.cpp OpenMP Implementation of a Team of AD Threads
team_pthread.cpp Pthread Implementation of a Team of AD Threads
team_thread.hpp Specifications for A Team of AD Threads
thread_alloc.cpp Fast Multi-Threading Memory Allocator: Example and Test
thread_test.cpp Run Multi-Threading Examples and Speed Tests
time_test.cpp time_test: Example and test
to_string.cpp to_string: Example and Test
unary_minus.cpp AD Unary Minus Operator: Example and Test
unary_plus.cpp AD Unary Plus Operator: Example and Test
value.cpp Convert From AD to its Base Type: Example and Test
var2par.cpp Convert an AD Variable to a Parameter: Example and Test
vec_ad.cpp AD Vectors that Record Index Operations: Example and Test
vector_bool.cpp CppAD::vectorBool Class: Example and Test

Input File: omh/example_list.omh