**CIGAL Reference Manual, Chapter 3 (Functions): row** ===== Row -- Perform arithmetic row by row within a variable ===== **usage: varb2 = row(varb1,op)** ROW combines all the values within a row of VARB1 into a single value in VARB2, thus reducing a matrix variable to an array, or a solid to a matrix. Row values are combined according to the operator, OP, which can be any of: MAX, MIN, SUM, MEAN, or STDEV Examples: mat1 = row(sol1,max) ; convert solid to matrix of row maxima ar1 = row(mat1,mean) ; find mean of each horizontal row **See Also:**\\ [[jvs:cigal:manual:chapter3:column|COLUMN(3)]], [[jvs:cigal:manual:chapter3:max|MAX(3)]], [[jvs:cigal:manual:chapter3:mean|MEAN(3)]], [[jvs:cigal:manual:chapter3:min|MIN(3)]], [[jvs:cigal:manual:chapter3:stdev|STDEV(3)]], [[jvs:cigal:manual:chapter3:sum|SUM(3)]], [[jvs:cigal:manual:chapter3:zproj|ZPROJ(3)]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter3|Functions List]], [[jvs:cigal:manual:help|Manual Help]]