CppAD: A C++ Algorithmic Differentiation Package
20130918
|
size_t CppAD::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 128 of file pod_vector.hpp.
Referenced by CppAD::sparse_list::add_element(), CppAD::sparse_list::assignment(), CppAD::sparse_list::binary_union(), CppAD::ADFun< Base >::capacity_order(), CppAD::ForJacSweep(), CppAD::forward0sweep(), CppAD::forward1sweep(), CppAD::pod_vector< bool >::operator=(), CppAD::sparse_list::resize(), CppAD::sparse_pack::resize(), CppAD::ADFun< Base >::Reverse(), CppAD::RevHesSweep(), CppAD::RevJacSweep(), CppAD::RevSparseHesBool(), CppAD::RevSparseHesSet(), and CppAD::VecAD< Base >::VecAD().