Prev Next

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
ad_double Assignment Operators

Syntax
ay op ax

op
The assignment operator op is one of the following:
op    Meaning
= simple assignment
+= ay = ay + ax
-= ay = ay - ax
*= ay = ay * ax
/= ay = ay / ax

ax
This object has prototype
     const a_double& 
ax

ay
This object has prototype
     a_double& 
ay

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