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}} }@)@
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 (Record an Operation Sequence)
driversFirst and Second Order Derivatives: Easy Drivers
ForwardForward Mode
ReverseReverse Mode
sparsity_patternCalculating Sparsity Patterns
sparse_derivativeCalculating Sparse Derivatives
optimizeOptimize an ADFun Object Tape
abs_normalAbs-normal Representation of Non-Smooth Functions
FunCheckCheck an ADFun Sequence of Operations
check_for_nanCheck an ADFun Object For Nan Results

Input File: cppad/core/ad_fun.hpp