CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Use default copy constructor because they may be optimized better than the code below:
template <class Base> inline AD<Base>::AD(const AD &x) { value_ = x.value_; tape_id_ = x.tape_id_; taddr_ = x.taddr_; return; }