CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base >
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.

Parameters:
lengthsize of the VecAD<Base> object.
datainitial values for the VecAD<Base> object (values before it becomes a variable).
Wish List
All these operates are preformed in 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=().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines