Syntax inline void ForSubvvOp(size_t d, Base *z, const Base *x, const Base *y) inline void ForSubpvOp(size_t d, Base *z, const Base *p, const Base *y) inline void ForSubvpOp(size_t d, Base *z, const Base *x, const Base *p)
Description
Computes the d order Taylor coefficient for Z
where
Operation
Value
Subvv
Z = X - Y
Subpv
Z = P - Y
Subvp
Z = X - P
x
The vector x has length d+1
and contains the
d-th order Taylor coefficient row vector for X.
y
The vector y has length d+1
and contains the
d-th order Taylor coefficient row vector for Y.
p
The scalar *p contains the value of the parameter P.
z
The vector z has length d+1
.
On input it contains the
d-1-th order Taylor coefficient row vector for Z.
On output it contains the
d-th order Taylor coefficient row vector for Z; i.e.,
z[d] is set equal to the d-th Taylor coefficient for
the function Z.
Input File: cppad/local/sub_op.hpp