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 .
Reverse Mode

Multiple Directions
Reverse mode after Forward(q, r, xq) with number of directions r != 1 is not yet supported. There is one exception, reverse_one is allowed because there is only one zero order forward direction. After such an operation, only the zero order forward results are retained (the higher order forward results are lost).

Contents
reverse_oneFirst Order Reverse Mode
reverse_twoSecond Order Reverse Mode
reverse_anyAny Order Reverse Mode
subgraph_reverseReverse Mode Using Subgraphs

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