History of Idiom 195 > diff from v3 to v4
Edit summary for version 4 by tkoenig:
[Pascal] This is not two-dimensional
[Pascal] This is not two-dimensional
↷
Version 3
2019-09-29, 09:08:57
Version 4
2019-09-29, 09:17:20
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).
Comments bubble
The :6:5 formats the output of the floating point varaible sum.
Comments bubble
The :6:5 formats the output of the floating point varaible sum.
However, this does not seem to be a two-dimensional array.