CppAD: A C++ Algorithmic Differentiation Package  20130918
void CppAD::sparse_list::binary_union ( size_t  this_target,
size_t  this_left,
size_t  other_right,
const sparse_list other 
) [inline]

Assign a set equal to the union of two other sets.

Parameters:
this_targetis the index (in this sparse_list object) of the set being assinged.
this_leftis the index (in this sparse_list object) of the left operand for the union operation. It is OK for this_target and this_left to be the same value.
other_rightis the index (in the other sparse_list object) of the right operand for the union operation. It is OK for this_target and other_right to be the same value.
otheris the other sparse_list object (which may be the same as this sparse_list object).
Checked Assertions
  • this_target < n_set_
  • this_left < n_set_
  • other_right < other.n_set_

Definition at line 278 of file sparse_list.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines