1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<HTML>
<HEAD>
<TITLE>TSP (libtsp/VR) - VRfAdd</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>VRfAdd</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
void VRfAdd (const float x1[], const float x2[], float y[], int N)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Element-by-element sum of two float arrays
</DL>
<H4>Description</H4>
This routine calculates the sum of corresponding elements of two float
arrays,
<PRE>
y[i] = x1[i] + x2[i], 0 <= i < N.
</PRE>
<H4>Parameters</H4>
<DL>
<DT>
-> const float x1[]
<DD>
Input array (N elements)
<DT>
-> const float x2[]
<DD>
Input array (N elements)
<DT>
<- float y[]
<DD>
Output array (N elements). The output array can be the same as either
of the input arrays.
<DT>
-> int N
<DD>
Number of elements in the arrays (may be zero)
</DL>
<H4>Author / revision</H4>
J. Stachurski
/ Revision 1.3 1996/05/06
<H4>See Also</H4>
<A HREF="VRfSum.html">VRfSum</A>,
<A HREF="VRfSubt.html">VRfSubt</A>
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>
|