SUMXPY2(range_x, range_y)

The SUMXPY2 function calculates the sum of squares of sum of corresponding values in two arrays, according to the formula:

image\ebx_2134085887.gif

The number of values in both arrays must be the same.

For example:

SUMXPY2({4,5,6}, {7,4,3})

returns 283, that is (4 + 7)^2 + (5 + 4)^2 + (6 + 3)^2.

See also:

Other mathematical functions