File: VRfAdd.3tsp

package info (click to toggle)
libtsp 3r0-1
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 5,096 kB
  • ctags: 1,798
  • sloc: ansic: 14,464; sh: 1,217; makefile: 182
file content (47 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
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
.TH VRfAdd 3tsp "TSP (libtsp/VR)"
.SH Routine
.in +4n
.ti -4n
void VRfAdd (const float x1[], const float x2[], float y[], int N)
.in -4n
.SH Purpose
.in +4n
.ti -4n
Element-by-element sum of two float arrays
.in -4n
.SH Description
This routine calculates the sum of corresponding elements of two float
arrays,
.ft CW
.nf
.ne 3
  y[i] = x1[i] + x2[i],  0 <= i < N.
.fi
.ft P
.SH Parameters
.in +4n
.ti -4n
 -> const float x1[]
.br
Input array (N elements)
.ti -4n
 -> const float x2[]
.br
Input array (N elements)
.ti -4n
<-  float y[]
.br
Output array (N elements).  The output array can be the same as either
of the input arrays.
.ti -4n
 -> int N
.br
Number of elements in the arrays (may be zero)
.in -4n
.SH Author / revision
J. Stachurski
/ Revision 1.3  1996/05/06
.SH See Also
VRfSum,
VRfSubt,
libtsp