CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
void CppAD::local::sparse_pack::binary_union ( size_t  target,
size_t  left,
const pod_vector< size_t > &  right 
)
inlineprivate

Assign a set equal to the union of a set and a vector;.

Parameters
targetis the index in this sparse_list object of the set being assinged.
leftis the index in this sparse_list object of the left operand for the union operation. It is OK for target and left to be the same value.
rightis a vector of size_t, sorted in accending order. right operand for the union operation. Elements can be repeated in right, but are not be repeated in the resulting set. All of the elements must have value less than end();

Definition at line 71 of file sparse_pack.hpp.