CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
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). |
length
indices following for this vector. The values for these vector indices are the corresponding parameter indices in the tape for the initial value of the corresponding vec_ad element.Rec_
, so we should move this routine from ADTape<Base>
to recorder<Base>
. Definition at line 198 of file ad_tape.hpp.
Referenced by CppAD::VecAD_reference< Base >::operator=().