Prev Next

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

Syntax
az = ax op ay

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

az
The result has prototype
     a_double 
az

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