CIGAL Reference Manual, Chapter 3 (Functions): column

Column -- Perform arithmetic column by column within a variable

usage: varb2 = column(varb1,op)

COLUMN combines all the values within a column of VARB1 into a single value in VARB2, thus reducing a matrix variable to an array, or a solid to a matrix. Column values are combined according to the operator, OP, which can be any of:

                    MAX, MIN, SUM, MEAN, or STDEV

Examples:

        mat1 = column(sol1,max)      ; convert solid to matrix of column maxima
        aray1 = column(mat1,mean)    ; find mean of each vertical column

See Also:
MAX(3), MEAN(3), MIN(3), ROW(3), STDEV(3), SUM(3), ZPROJ(3)

CIGAL Home, CIGAL Manual, Functions List, Manual Help