Prev Next

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
a_double Binary Operators with an AD Result

Syntax
az = ax op ay
az = ax op y

op
The binary operator op is one of the following: + (addition), - (subtraction), * (multiplication), / (division).

ax
This object has prototype
     const a_double& 
ax

ay
This object has prototype
     const a_double& 
ay

y
This object has prototype
     const double& 
y

az
The result has prototype
     a_double 
az

Example
C++ , Python .
Input File: lib/cplusplus/a_double.cpp