function mn=mult(m)
%  function mn=mult(m)  for driver, multiplies row by constant, adds to a row
%  This function multiplies a row of m by
%   a constant and adds it to a second row.
%  Used by driver.
%  by Ozgur Bayazitoglu
r=input('Give the row to be added.  ');
r2=input('Which row do you want it added to?  ');
mlt=input('What should the first row be multiplied by?  ');
m(r2,:)=m(r2,:)+(m(r,:).*mlt);
mn=m;
