SUM

 

 Sum of the elements.

  For vectors, SUM(X) is the sum of the elements of X.

  For matrices, SUM(X) is a row vector with the sum over

  each column. SUM(DIAG16RMFU2(X)) is the trace of X.

 

 

  See also PROD2RCHBXR, CUMPROD1N5DKXG, CUMSUMKIA13Y.