|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| size_t ADTape< Base >::AddVec | ( | size_t | length, |
| const pod_vector< Base > & | data | ||
| ) | [private] |
Put initialization for a VecAD<Base> object in the tape.
This routine should be called once for each VecAD object when just before it changes from a parameter to a variable.
| length | size of the VecAD<Base> object. |
| data | initial values for the VecAD<Base> object (values before it becomes a variable). |
Rec_, so we should move this routine from ADTape<Base> to recorder<Base>. Definition at line 194 of file ad_tape.hpp.
Referenced by CppAD::VecAD_reference< Base >::operator=().