Syntax inline void RevSubvvOp(size_t d,
const Base *pz, Base *px, Base *py)inline void RevSubpvOp(size_t d,
const Base *pz, Base *py)inline void RevSubvpOp(size_t d,
const Base *pz, Base *px)
Description
We are given the partial derivatives for a function
G(z, x, y)
and we wish to compute the partial derivatives for
the function
\[
H(x, y) = G [ Z(x, y) , x , y ]
\]
where Z(x, y)
is defined as the
d-th order Taylor coefficient row vector for Z as
a function of the corresponding vectors for
X and Y where
Operation
Value
Subvv
Z = X - Y
Subpv
Z = P - Y
Subvp
Z = X - P
Note that Z has been used both the original subtraction
function and for the corresponding mapping of Taylor coefficients.
pz
The vector pz has length d+1
and
pz[j] contains the partial for G
with respect to the j-th order Taylor coefficient for Z.
px
If present,
the vector px has length d+1
and
px[j] contains the partial for H
with respect to the j-th order Taylor coefficient for X.
py
If present,
the vector py has length d+1
and
py[j] contains the partial for H
with respect to the j-th order Taylor coefficient for Y.
Input File: cppad/local/sub_op.hpp