VRfDiffSq
Routine

double VRfDiffSq (const float x1[], const float x2[], int N)
Purpose

Find the sum of squares of the differences for two float arrays
Description
This routine calculates the sum of the squares of the differences between
corresponding elements of two float arrays,
N1 2
e2 = SUM (x1[i] * x2[i]) .
i=0
Parameters

< double VRfDiffSq

Sum of the squares of the element differences

> const float x1[]

Input array (N elements)

> const float x2[]

Input array (N elements)

> int N

Number of elements in the arrays (may be zero)
Author / revision
P. Kabal
/ Revision 1.7 2003/05/09
See Also
VRfDotProd
Main Index libtsp