CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inline |
Increase the number of elements the end of this vector (existing elements are always preserved).
n | is the number of elements to add to end of this vector. |
extend
was extended. This is the index of the first new element added to the vector.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
. They uses thread_alloc for this allocation, hence this determines which thread corresponds to this vector (when in parallel mode). Definition at line 115 of file pod_vector.hpp.
Referenced by CppAD::local::sparse_sizevec::add_element(), CppAD::local::arg_is_variable(), CppAD::local::sparse_sizevec::assignment(), CppAD::local::sparse_sizevec::binary_intersection(), CppAD::local::sparse_sizevec::binary_union(), CppAD::local::sparse_sizevec::collect_garbage(), CppAD::local::for_hes_sweep(), CppAD::local::for_jac_sweep(), CppAD::local::forward0sweep(), CppAD::local::forward1sweep(), CppAD::local::pod_vector< Pack >::operator=(), CppAD::local::pod_vector< Pack >::pod_vector(), CppAD::local::sparse_sizevec::post_element(), CppAD::local::sparse_sizevec::process_post(), CppAD::local::pod_vector< Pack >::push_back(), CppAD::local::rev_hes_sweep(), CppAD::local::rev_jac_sweep(), CppAD::ADFun< Base >::subgraph_jac_rev(), and CppAD::VecAD< Base >::VecAD().