\input manualMacros.tex
\manBegin
\manPageInfo{RCI Reference Manual}{}{}
\manTitle{addVd}{3}
\manSection{NAME}
{\rightskip=0ptplus1fil
{\tt \manName{addVd}},
{\tt \manName{subtractVd}},
{\tt \manName{scaleVd}},
{\tt \manName{combineVd}},
{\tt \manName{normVd}},
{\tt \manName{dotVd}}
-- double precision vector arithmetic.
}
\manSection{USAGE}
\cverbatim
#include <vector.h>

double *addVd (vr, v1, v2, size)
   double *vr, *v1, *v2;
   int size;

double *subtractVd (vr, v1, v2, size)
   double *vr, *v1, *v2;
   int size;

double *scaleVd (vr, a, v1, size)
   double *vr, *v1;
   double a;
   int size;

double *combineVd (vr, a, v1, b, v2, size)
   double *vr, *v1, *v2;
   double a, b;
   int size;

double normVd (v1, size)
   double *v1;
   int size;

double dotVd (v1, v2, size)
   double *v1, *v2;
   int size;
@endcverbatim
\manSection{ARGUMENTS}
\manItem{{\tt vr} --}
Result vector.
\manItem{{\tt v1} --}
First argument vector.
\manItem{{\tt v2} --}
Second argument vector.
\manItem{{\tt a}, {\tt b} --}
Scale factors.
\manItem{{\tt size} --}
Size of the vector.
\manSection{DESCRIPTION}
These routines perform double precision vector arithemtic and return
a pointer to their result argument.

{\tt addVd()} and {\tt subtractVd()} compute ${\tt vr} = {\tt v1} + 
{\tt v2}$ and ${\tt vr} = {\tt v1} - {\tt v2}$, respectively.

{\tt scaleVd()} computes the vector ${\tt vr} = {\tt a} \;{\tt v1}$.

{\tt combineVd()} computes the linear combination ${\tt vr} = 
{\tt a}\; {\tt v1} + {\tt b}\; {\tt v2}$.

{\tt normVd()} computes the 2-norm of v1.

{\tt dotVd()} computes the dot product of ${\tt v1}$ and ${\tt v2}$.
\manSection{SEE ALSO}
\raggedright
{\tt copyV(3)}, {\tt addVf(3)}, {\tt printVf(3)}, {\tt printVd(3)}.
\manEnd
\end
