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}} }@)@This is cppad-20221105 documentation. Here is a link to its current documentation .
ADFun Objects

Purpose
An AD of Base operation sequence is stored in an ADFun object by its FunConstruct . The ADFun object can then be used to calculate function values, derivative values, and other values related to the corresponding function.

Contents
record_adfunCreate an ADFun Object by Recording an Operation Sequence
other_adfunOther Ways to Create an ADFun Object
driversFirst and Second Order Derivatives: Easy Drivers
ForwardForward Mode
ReverseReverse Mode
sparsity_patternCalculating Sparsity Patterns
sparse_derivativeCalculating Sparse Derivatives
optimizeOptimize an ADFun Object Tape
FunCheckCheck an ADFun Sequence of Operations
check_for_nanCheck an ADFun Object For Nan Results
to_csrcC Source Code Corresponding to an ADFun Object

Input File: include/cppad/core/ad_fun.hpp