next up previous
Next: r = trace(matrix) Up: MATC Internal Functions Previous: r = max(matrix)

r = sum(matrix)

Return vector is column sums of given matrix. r = sum(sum(matrix)) gives the total sum of elements of the matrix.



Juha Ruokolainen
Fri Feb 14 15:59:30 EET 1997