rowadd(a, i, j)

Adds the i-th row to the j-th row of matrix a.


See also rowtimes submatrix 


Example


a = ( 1, 2, 3 ; 4, 5, 6 ; 7, 8, 9 )

1  2  3

4  5  6

7  8  9

rowadd( a, 1, 2 )

1  2  3

5  7  9

7  8  9