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

 

ROWLEN

Purpose:

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

Syntax:

ROWLEN(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}} 

 

b = rowlen(a) 

 

b == {3, 2} 

Remarks:

ROWLEN works with arrays with differing number of elements.

See Also:

COLLENGTH

LENGTH

SIZE

ROW

ROWMAX

ROWMEAN

ROWMIN

ROWREDUCE

ROWSTDEV

ROWSUM

TRANSPOSE