CppAD: A C++ Algorithmic Differentiation Package
20171217
|
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.
Base | is 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> . |
f | ADFun object containing the operation sequence to be copied. |
Definition at line 274 of file fun_construct.hpp.