next up previous contents index
suivant: Multiply a row by monter: Arithmetic and matrix précédent: Extract a sub-matrix of   Table des matières   Index


Add a row to another row : rowAdd

rowAdd takes three arguments : a matrix A and two integers n1 and n2.
rowAdd returns the matrix obtained by replacing in A, the row of index n2 by the sum of the rows of index n1 and n2.
Input :
rowAdd([[1,2],[3,4]],0,1)
Output :
[[1,2],[4,6]]



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