Changes

Jump to navigation Jump to search
Line 6: Line 6:  
== Array Accumulation Functions ==
 
== Array Accumulation Functions ==
   −
== Array.accumulate(FromTotal) {{anchor | Array.accumulate}} ==
+
== Array.accumulate(FromTotal) ==
    
Each element is accumulated using SUM with each element.
 
Each element is accumulated using SUM with each element.
 +
 +
MAGICSQUARE(3) is
 +
 +
2 7 6
 +
 +
9 5 1
 +
 +
4 3 8
 +
 +
    
MAGICSQUARE(3).accumulate()
 
MAGICSQUARE(3).accumulate()
Line 19: Line 29:  
| 49 || 52 || 60  
 
| 49 || 52 || 60  
 
|}
 
|}
      
==Array.cumcolumns(Columns|empty)==
 
==Array.cumcolumns(Columns|empty)==
2,824

edits

Navigation menu