Previous Up Next

14.3.4  Addition of elements of a column of a matrix

The sum command (see also Section 13.3.3) can add the elements of the columns of a matrix.

Example

sum([[1,2],[3,4]])
     

4,6
          

Previous Up Next