SSQ Function

SSQ (matrix1 <, matrix2, …, matrix15> ) ;

The SSQ function returns as a single numeric value the (uncorrected) sum of squares for all the elements of all arguments. You can specify as many as 15 numeric argument matrices.

The SSQ function checks for missing arguments and does not include them in the accumulation. If all arguments are missing, the result is 0.

An example of a valid statement follows:

a = {1 2 3, 4 5 6};
x = ssq(a);
print x;

Figure 23.337: Sums of Squares

x
91