Prev Next a_double_ctor

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
The a_double Constructor

Syntax
ad = module_ref a_double()
ad = module_ref a_double(d)
ad = module_ref a_double(ad_other)

Purpose
Creates a cppad_swig::a_double object that can be use to track floating point operations and preform algorithmic differentiation.

module_ref
This is the module reference for the particular language.

d
This argument has prototype
     const double& 
d
The resulting ad variable represents a constant function equal to d .

ad_other
This argument has prototype
     const a_double& 
ad_other
The resulting ad variable is the same function of the independent variables as ad_other .


is the a_double object that is constructed.

Example
All of the other a_double examples use an a_double constructor.
Input File: lib/a_double.cpp