jvs:cigal:manual:chapter3:row
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:
COLUMN(3),
MAX(3),
MEAN(3),
MIN(3),
STDEV(3),
SUM(3),
ZPROJ(3)
jvs/cigal/manual/chapter3/row.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1