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

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

Parameters:
this_targetis the index (in this sparse_set object) of the set being assinged.
this_leftis the index (in this sparse_set 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_set 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_set object (which may be the same as this sparse_set object).
Checked Assertions
  • this_target < n_set_
  • this_left < n_set_
  • other_right < other.n_set_

Definition at line 247 of file sparse_set.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines