source: liacs/la/opdr1/rowmultiple.m@ 335

Last change on this file since 335 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 349 bytes
RevLine 
[2]1function B = rowmultiple(A,i,k)
2 % ROWMULTIPLE Given an m x n matrix A
3 % along with an integer i between 1 and m and a
4 % nonzero scalar k this function will priduce a m x n
5 % matrix B that is the result of multiplying row i of
6 % A by k
7 B = A;
8 B(i,:) = k * A(i,:);
Note: See TracBrowser for help on using the repository browser.