CppAD: A C++ Algorithmic Differentiation Package 20110419
void sparse_pack::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 both n_set_in and end_in are non-zero new memory is allocated, otherwise no new memory is allocated for the object.

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 101 of file sparse_pack.hpp.

Referenced by RevSparseJacBool(), and ADFun< Base >::size_forward_bool().