\section{PLUS Addition Operator}

\subsection{Usage}

Adds two numerical arrays (elementwise) together.  There are two forms
for its use, both with the same general syntax:
\begin{verbatim}
  y = a + b
\end{verbatim}
where \verb|a| and \verb|b| are \verb|n|-dimensional arrays of numerical type.  In the
first case, the two arguments are the same size, in which case, the 
output \verb|y| is the same size as the inputs, and is the element-wise the sum 
of \verb|a| and \verb|b|.  In the second case, either \verb|a| or \verb|b| is a scalar, 
in which case \verb|y| is the same size as the larger argument,
and is the sum of the scalar added to each element of the other argument.

The type of \verb|y| depends on the types of \verb|a| and \verb|b| using the type 
promotion rules.  The types are ordered as:
\begin{enumerate}
\item  \verb|uint8| - unsigned, 8-bit integers range \verb|[0,255]|

\item  \verb|int8| - signed, 8-bit integers \verb|[-127,128]|

\item  \verb|uint16| - unsigned, 16-bit integers \verb|[0,65535]|

\item  \verb|int16| - signed, 16-bit integers \verb|[-32768,32767]|

\item  \verb|uint32| - unsigned, 32-bit integers \verb|[0,4294967295]|

\item  \verb|int32| - signed, 32-bit integers \verb|[-2147483648,2147483647]|

\item  \verb|float| - 32-bit floating point

\item  \verb|double| - 64-bit floating point

\item  \verb|complex| - 32-bit complex floating point

\item  \verb|dcomplex| - 64-bit complex floating point

\end{enumerate}
Note that the type promotion and combination rules work similar to 
\verb|C|.  Numerical overflow rules are also the same as \verb|C|.
\subsection{Function Internals}

There are three formulae for the addition operator, depending on the
sizes of the three arguments.  In the most general case, in which 
the two arguments are the same size, the output is computed via:
\[
y(m_1,\ldots,m_d) = a(m_1,\ldots,m_d) + b(m_1,\ldots,m_d)
\]
If \verb|a| is a scalar, then the output is computed via
\[
y(m_1,\ldots,m_d) = a + b(m_1,\ldots,m_d).
\]
On the other hand, if \verb|b| is a scalar, then the output is computed via
\[
y(m_1,\ldots,m_d) = a(m_1,\ldots,m_d) + b.
\]
\subsection{Examples}

Here are some examples of using the addition operator.  First, a 
straight-forward usage of the plus operator.  The first example
is straightforward - the \verb|int32| is the default type used for
integer constants (same as in \verb|C|), hence the output is the
same type:
\begin{verbatim}
--> 3 + 8

ans = 

 11 


\end{verbatim}
Next, we use the floating point syntax to force one of the arguments
to be a \verb|double|, which results in the output being \verb|double|:
\begin{verbatim}
--> 3.1 + 2

ans = 

    5.1000 


\end{verbatim}
Note that if one of the arguments is complex-valued, the output will be
complex also.
\begin{verbatim}
--> a = 3 + 4*i

a = 

    3.0000 +  4.0000i 

--> b = a + 2.0f

b = 

    5.0000 +  4.0000i 


\end{verbatim}
If a \verb|complex| value is added to a \verb|double|, the result is 
promoted to \verb|dcomplex|.
\begin{verbatim}
--> b = a + 2.0

b = 

    5.0000 +  4.0000i 


\end{verbatim}
We can also demonstrate the three forms of the addition operator.  First
the element-wise version:
\begin{verbatim}
--> a = [1,2;3,4]

a = 

 1 2 
 3 4 

--> b = [2,3;6,7]

b = 

 2 3 
 6 7 

--> c = a + b

c = 

  3  5 
  9 11 


\end{verbatim}
Then the scalar versions
\begin{verbatim}
--> c = a + 1

c = 

 2 3 
 4 5 

--> c = 1 + b

c = 

 3 4 
 7 8 


\end{verbatim}
