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

Counts references to a set.

iis the index of the set that we are counting the references to.
if the set is empty, the return value is zero. Otherwise it is the number of sets that share the same vector.

Definition at line 106 of file sparse_sizevec.hpp.

Referenced by binary_intersection(), binary_union(), check_data_structure(), and drop().