daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. len = length(blocks);
  2. n = sum(size(blocks)) - len;
  3. currsum = sum(abs(blocks(n,1:len)));
  4.    
  5. int n = (this->width + this->height) - this->width;
  6. double currsum = 0;
  7.  
  8. for(int i=0; (i < n); i++)
  9. {
  10.     currsum += blocks[i];
  11.  
  12. }
  13.    
  14. len = length(blocks);
  15.    
  16. n = sum(size(blocks)) - len;
  17.    
  18. currsum = sum(abs(blocks(n,1:len)));
  19.    
  20. currsum = sum(abs(blocks(end,:)))
  21.    
  22. int n = (this->width + this->height) - this->width;
  23.    
  24. int n = this->height;
  25.    
  26. currsum += blocks[i];
  27.    
  28. double currsum = 0;
  29. for(int i=0; (i < this->width); i++)
  30. {
  31.     currsum += abs(blocks[this->height-1][i]);
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top