source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/flops_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: 285 bytes
Line 
1function f = flops_row_sum(n,m)
2% FLOPS_ROW_SUM         Flops for row sums.
3% FLOPS_ROW_SUM(a) returns the number of flops for row_sum(a).
4% FLOPS_ROW_SUM(n,m) returns the number of flops for row_sum(ones(n,m)).
5
6if nargin == 1
7  m = cols(n);
8  n = rows(n);
9end
10f = n*(m-1);
Note: See TracBrowser for help on using the repository browser.