source: liacs/la/opdr1/rowcombine.m@ 348

Last change on this file since 348 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: 213 bytes
RevLine 
[2]1function B = rowcombine(A,i,j,k)
2 % ROWCOMBINE
3 % Makes a new matrix B by replacing row i of A with
4 % (row i of A) + k * (row j of A)
5 B = A;
6 B(i,:) = A(i,:) + k * A(j,:);
7
Note: See TracBrowser for help on using the repository browser.