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

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

Any memory currently allocated for this object is freed. If n_set_in is zero, no new memory is allocated for the set. Otherwise, new memory may be allocated for the sets.

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 86 of file sparse_set.hpp.

Referenced by RevSparseJacSet(), and ADFun< Base >::size_forward_set().