next up previous contents index
suivant: Cumulated sum of elements monter: Arithmetic and matrix précédent: Multiplication of two matrices   Table des matières   Index


Addition of elements of a column of a matrix : sum

sum takes as argument a matrix A.
sum returns the list whose elements are the sum of the elements of each column of the matrix A.
Input :
sum([[1,2],[3,4]])
Output :
[4,6]



giac documentation written by Renée De Graeve and Bernard Parisse