File: VRfScale.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 (45 lines) | stat: -rw-r--r-- 815 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
.TH VRfScale 3tsp "TSP (libtsp/VR)"
.SH Routine
.in +4n
.ti -4n
void VRfScale (double a, const float x[], float y[], int N)
.in -4n
.SH Purpose
.in +4n
.ti -4n
Multiply each element of a float array by a scalar value
.in -4n
.SH Description
This routine multiplies each element of a float array by a scalar value,
.ft CW
.nf
.ne 3
  y[i] = a * x[i],  0 <= i < N.
.fi
.ft P
.SH Parameters
.in +4n
.ti -4n
 -> double a
.br
A scalar value
.ti -4n
 -> const float x[]
.br
Input array (N elements)
.ti -4n
<-  float y[]
.br
Output array (N elements).  The output array can be the same as the
input array.
.ti -4n
 -> int N
.br
Number of elements in the arrays (may be zero).
.in -4n
.SH Author / revision
J. Stachurski
/ Revision 1.6  1996/05/06
.SH See Also
VRfMult,
libtsp