CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
void CppAD::local::sparse_pack::assignment ( size_t  this_target,
size_t  other_value,
const sparse_pack other 

Assign one set equal to another set.

this_targetis the index (in this sparse_pack object) of the set being assinged.
other_valueis the index (in the other sparse_pack object) of the that we are using as the value to assign to the target set.
otheris the other sparse_pack object (which may be the same as this sparse_pack object).
Checked Assertions
  • this_target < n_set_
  • other_value < other.n_set_
  • n_pack_ == other.n_pack_

Definition at line 303 of file sparse_pack.hpp.