source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/flops_row_sum.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 285 bytes |
Line | |
---|---|
1 | function 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 | |
6 | if nargin == 1 |
7 | m = cols(n); |
8 | n = rows(n); |
9 | end |
10 | f = n*(m-1); |
Note: See TracBrowser
for help on using the repository browser.