Command Reference : Function Reference : Function Reference: C
  
 
@csum
Sum of the values in each column of a matrix.
Syntax: @csum(m)
m: matrix
Return: vector
Returns a vector containing the summation of the rows in each column of the matrix m.
Examples
vector colsums = @csum(m1)
computes the column sums for the matrix M1 and places them in COLSUMS.
Cross-references
See also @colcumprod and @colcumsum.
See also @cumprod and @cumsum.
See also @cprod and @csumsq.