CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
addr_t CppAD::local::recorder< Base >::PutVecInd ( size_t  vec_ind)
inline

Add a value to the end of the current vector of VecAD indices.

For each VecAD vector, this routine is used to store the length of the vector followed by the parameter index corresponding to each value in the vector. This value for the elements of the VecAD vector corresponds to the beginning of the operation sequence.

Parameters
vec_indis the index to be palced at the end of the vector of VecAD indices.
Returns
is the index in the vector of VecAD indices corresponding to this value. This index starts at zero after the recorder default constructor and after each call to Erase. It increments by one for each call to PutVecInd..

Definition at line 289 of file recorder.hpp.

Referenced by CppAD::local::optimize::optimize_run().