CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<typename Base >
void CppAD::ADFun< Base >::operator= ( const ADFun< Base > &  f)

ADFun assignment operator.

The C++ syntax for this operation is

     g = f

where g and f are ADFun<Base> ADFun objects. A copy of the the operation sequence currently stored in f is placed in this ADFun object (called g above). Any information currently stored in this ADFun object is lost.

Template Parameters
Baseis the base for the recording that can be stored in this ADFun object; i.e., operation sequences that were recorded using the type AD<Base>.
fADFun object containing the operation sequence to be copied.

Definition at line 274 of file fun_construct.hpp.