
#include nagmk26.h

$$d=c+\sum _{i=1}^{n}{a}_{i}{b}_{i}\text{.}$$ 
(a)  If ${\mathbf{sw}}=\mathrm{.TRUE.}$, the products are accumulated in additional precision, and on exit the result is available either in basic precision, correctly rounded, or in additional precision. 
(b)  If ${\mathbf{sw}}=\mathrm{.FALSE.}$, the products are accumulated in basic precision, and the result is returned in basic precision. 
On entry,  ${\mathbf{istepa}}\le 0$, 
or  ${\mathbf{istepb}}\le 0$. 
On entry,  ${\mathbf{isizea}}>\left({\mathbf{n}}1\right)\times {\mathbf{istepa}}+1$, 
or  ${\mathbf{isizeb}}>\left({\mathbf{n}}1\right)\times {\mathbf{istepb}}+1$. 
$$A=\left(\begin{array}{rrr}2& 3& 7\\ 2& 5& 3\\ 9& 1& 0\end{array}\right)\text{, \hspace{1em}}{\mathbf{b}}=\left(\begin{array}{r}8\\ 4\\ 2\end{array}\right)\text{.}$$ 