source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/row_sum.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 184 bytes
Line 
1function s = row_sum(x)
2% ROW_SUM   Sum for each row.
3% A faster and more readable alternative to sum(x,2).
4
5% unfortunately, this removes any sparseness of x.
6s = x*ones(cols(x),1);
7
Note: See TracBrowser for help on using the repository browser.