CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
void CppAD::local::sparse_sizevec::resize ( size_t  n_set,
size_t  end 

Start a new vector of sets.

n_setis the number of sets in this vector of sets.
  • If n_set is zero, any memory currently allocated for this object is freed.
  • If n_set is non-zero, a vector of n_set sets is created and all the sets are initilaized as empty.
endis the maximum element plus one (the minimum element is 0). If n_set is zero, end must also be zero.

Definition at line 611 of file sparse_sizevec.hpp.