The SUMXPY2 function calculates the sum of squares of sum of corresponding values in two arrays, according to the formula:
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: