CppAD: A C++ Algorithmic Differentiation Package
20130102
|
size_t pod_vector< Type >::extend | ( | size_t | n | ) | [inline] |
Increase the number of elements the end of this vector.
n | is the number of elements to add to end of this vector. |
extend
was extended.Type
is plain old data, new elements are not initialized; i.e., their constructor is not called. Otherwise, the constructor is called for each new element.pod_vector
. and it uses thread_alloc for this allocation, hence this determines which thread corresponds to this vector (when in parallel mode).max_length_
, and NDEBUG
is not defined, a CPPAD_ASSERT is generated. Definition at line 130 of file pod_vector.hpp.
Referenced by ADFun< Base >::ADFun(), ADFun< Base >::capacity_taylor(), ForJacSweep(), forward0sweep(), forward_sweep(), pod_vector< Pack >::operator=(), recorder< Base >::PutArg(), recorder< Base >::PutOp(), recorder< Base >::PutPar(), recorder< Base >::PutTxt(), recorder< Base >::PutVecInd(), sparse_pack::resize(), ADFun< Base >::Reverse(), RevHesSweep(), RevJacSweep(), RevSparseHesBool(), RevSparseHesSet(), and CppAD::VecAD< Base >::VecAD().