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

Count number of elements in a set.

Parameters
iis the index of the set we are counting the elements of.
number of elements checks that value < end_ for each element of the set.

Definition at line 699 of file sparse_list.hpp.

Referenced by check_data_structure(), and CppAD::local::optimize::optimize_run().