Return Value
The return value is equal to the number of
AD<Base> comparison operations have a different result
from when the information in Rec was recorded.
Rec
The information stored in Rec
is a recording of the operations corresponding to a function
\[
F : B^n \rightarrow B^m
\]
print
If print is false,
suppress the output that is otherwise generated
by the PripOp and PrivOp instructions.
numvar
is the number of rows in the matrix Taylor.
It must also be equal to Rec->TotNumVar().
J
Is the number of columns in the coefficient matrix Taylor.
This must be greater than or equal 1
.
Rec
None of the values stored in Rec are modified.
Independent Variables
For i = 1, \ldots , n
and j = 0 , \ldots , J-1
,
Taylor[i * J + j] is not modified.
Other Variables
For i = n+1, \ldots , numvar-1
,
Taylor[i * J] is set equal to the
zero order Taylor coefficient for the variable with index i.
Input File: cppad/local/forward0sweep.hpp