Logo

Programming-Idioms

History of Idiom 195 > diff from v9 to v10

Edit summary for version 10 by tkoenig:
Linked to idiom #26 [Create a 2-dimensional array]

Version 9

2021-06-20, 15:37:58

Version 10

2021-08-03, 14:32:44

Idiom #195 Pass a two-dimensional array

Pass an array a of real numbers to the procedure (resp. function) foo. Output the size of the array, and the sum of all its elements when each element is multiplied with the array indices i and j (assuming they start from one).

Idiom #195 Pass a two-dimensional array

Pass an array a of real numbers to the procedure (resp. function) foo. Output the size of the array, and the sum of all its elements when each element is multiplied with the array indices i and j (assuming they start from one).

Variables
a,foo,i,j
Variables
a,foo,i,j