CppAD: A C++ Algorithmic Differentiation Package  20130918
void CppAD::sparse_list::resize ( size_t  n_set_in,
size_t  end_in 
) [inline]

Change number of sets, end marker, and initialize all sets as empty.

If n_set_in is zero, any memory currently allocated for this object is freed. Otherwise, new memory may be allocated for the sets (if needed).

Parameters:
n_set_inis the number of sets in this vector of sets.
end_inis the maximum element plus one (the minimum element is 0).

Definition at line 78 of file sparse_list.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines