RSSQ matrix function
RSSQ(A) returns a column vector having the same number of rows as the argument. Each row of the result contains the sum of the squared values of the elements in the corresponding row of A.
Matrix Algebra Useful for Statistics
Shayle R. Searle, Andre I. Khuri
Buy from Amazon