DADiSP Worksheet Functions > Function Categories > Statistics and Calculus > ROWSUM

 

ROWSUM

Purpose:

Produces a column of the sums of each row of the input table.

Syntax:

ROWSUM(a)

a

-

A series or table.

Returns:

A single column series with the same number of rows as the input table.

Example:

a = {{2, 4, 6},

     {8, 10, 12}} 

 

b = rowsum(a) 

 

b == {12, 30} 

Remarks:

ROWSUM uses ROWREDUCE to find the row sums.

See Also:

COLSUM

ROW

ROWLEN

ROWMAX

ROWMEAN

ROWMIN

ROWREDUCE

ROWSTDEV

SUM

TRANSPOSE