COLMAX

Purpose:

Produces a row of the maximum values of each column of the input table.

Syntax:

COLMAX(a)

a

-

A series or table.

Returns:

A one-row table with the same number of columns as the input table.

Example:

colmax(ravel({2, 4, 6}, {8, 10, 12}))

 

returns {{6, 12}}

Remarks:

Use COLMAXIDX to find the indices for each column of an array.

See Also:

COL

COLLENGTH

COLMAXIDX

COLMEAN

COLMEDIAN

COLMIN

COLSTDEV

MAX

ROWMAX

TRANSPOSE