CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
size_t CppAD::local::sparse_list::drop ( size_t  i)
inlineprivate

drop a set and its postings (no longer being used).

Parameters
iis the index of the set that will be dropped.
reference_count
if the set is non-empty, the reference count data_[ start_[i] ] will be decremented.
start_
The value start_[i] is set to zero.
post_
the value post_[i] will be set to zero.
data_not_used_
the eleemmnts of data_ that are dropped are added to this list.
Returns
is the additional number of elements of data_ that are not used. This is non-zero when the initial reference count is one.

Definition at line 152 of file sparse_list.hpp.

Referenced by assignment(), binary_intersection(), binary_union(), and clear().