Question: Maple Programming

Hello,
Im trying to make a program that does the same thing as RowOperation in maple but i dont know what to write to make it return the new matrix matrix
thats what i tried



rowoperation := proc (matrice, i, j, r)
 local m, n, k;
 m, n := Dimension(matrice);
for k to n do
matrice[j, k] := r*matrice[i, k]+matrice[j, k]
end do
end proc



thank you

Please Wait...