CSUM matrix function
CSUM(A) Returns a row vector with the same number of columns as the argument. Each column of the result contains the sum of the elements in the corresponding column of the argument. CSUM(A) gives the same result as SUM(A) (see "Statistical functions on matrices" below).
Matrix Algebra Useful for Statistics
Shayle R. Searle, Andre I. Khuri
Buy from Amazon