CppAD: A C++ Algorithmic Differentiation Package
20171217

CppAD::ADFun< Base >::ADFun  (  const VectorAD &  x, 
const VectorAD &  y  
) 
ADFun constructor from an operation sequence.
The C++ syntax for this operation is
ADFun<Base> f(x, y)
The operation sequence that started with the previous call Independent(x)
, and that ends with this operation, is stored in this ADFun<Base>
object f
.
Base  is the base for the recording that will be stored in the object f ; i.e., the operations were recorded using the type AD<Base> . 
VectorAD  is a simple vector class with elements of typea AD<Base> . 
x  is the independent variable vector for this ADFun object. The domain dimension of this object will be the size of x. 
y  is the dependent variable vector for this ADFun object. The range dimension of this object will be the size of y. 
Definition at line 380 of file fun_construct.hpp.