sumsquare
Sumsquare is a term used in mathematics to describe the operation of adding together the squares of numbers, vectors, or components. The basic form is the sum of squares of integers 1 through n: 1^2+2^2+...+n^2 = n(n+1)(2n+1)/6. In vector spaces, the squared Euclidean norm of a vector x = (x1,...,xk) is defined as ||x||^2 = x1^2+...+xk^2.
In number theory, sums of squares refers to representations of integers as sums of squares, such as
In computing and data analysis, the term may appear as shorthand in algorithms involving squared errors, least-squares