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
|
.TH VRfMult 3tsp "TSP (libtsp/VR)"
.SH Routine
.in +4n
.ti -4n
void VRfMult (const float x1[], const float x2[], float y[], int N)
.in -4n
.SH Purpose
.in +4n
.ti -4n
Element-by-element product of two float arrays
.in -4n
.SH Description
This routine calculates the product 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
P. Kabal Copyright (C) 1996
/ Revision 1.4 1996/05/06
.SH See Also
VRfScale,
libtsp
|