rowtimes(a, i, z)

Multiplies the i-th row of matrix a times z.


See also rowadd submatrix 


Example


a = ( 1, 2 ; 3, 1 )

1  2

3  1

rowtimes( a, 2, 3 )

1  2

9  3