VRdMult


Routine

void VRdMult (const double x1[], const double x2[], double y[], int N)

Purpose

Element-by-element product of two double arrays

Description

This routine calculates the product of corresponding elements of two double arrays,
  y[i] = x1[i] * x2[i],  0 <= i < N.

Parameters

-> const double x1[]
Input array (N elements)
-> const double x2[]
Input array (N elements)
<- double y[]
Output array (N elements). The output array can be the same as either of the input arrays.
-> int N
Number of elements in the arrays (may be zero)

Author / revision

P. Kabal / Revision 1.2 2003/05/09


Main Index libtsp