Array.accumulatewith()
Revision as of 11:44, 1 March 2017 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
Array.accumulate(CumulativeFunction, FromTotal)
Accumulates the numbers by row and then by column sequentially using the CumulativeFunction (Default is CONCAT. Starts from FromTotal.
[[1,3,4],[2,3,4]].accumulatewith(SUM,0)
1 | 4 | 8 |
10 | 13 | 17 |