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

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

Added original make3d

File size: 288 bytes
Line 
1function f = flops_col_sum(n,m)
2% FLOPS_COL_SUM         Flops for column sums.
3% FLOPS_COL_SUM(a) returns the number of flops for col_sum(a).
4% FLOPS_COL_SUM(n,m) returns the number of flops for col_sum(ones(n,m)).
5
6if nargin == 1
7  m = cols(n);
8  n = rows(n);
9end
10f = (n-1)*m;
Note: See TracBrowser for help on using the repository browser.