CppAD: A C++ Algorithmic Differentiation Package
20130102
|
VectorBase ADFun< Base >::Reverse | ( | size_t | p, |
const VectorBase & | w | ||
) |
reverse mode sweep
Use reverse mode to compute derivative of forward mode Taylor coefficients.
The function is defined by
The function is defined by
The function is defined by
Base | base type for the operator; i.e., this operation sequence was recorded using AD< Base > and computations by this routine are done using type Base. |
VectorBase | is a Simple Vector class with elements of type Base. |
p | is the number of the number of Taylor coefficients that are being differentiated (per variable). |
w | is the weighting for each of the Taylor coefficients corresponding to dependent variables. If the argument w has size m * p , for ![]() ![]()
m , for ![]() ![]()
|
Definition at line 118 of file reverse.hpp.
Referenced by CppAD::BenderQuad(), and CppAD::JacobianRev().