History of Idiom 195
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).
# | Edit date | Edit Summary | Author | ||
---|---|---|---|---|---|
👁 Δ | 18 | 2023-02-04, 12:12 | [Go] rename variables | Pablitoz | |
👁 Δ | 17 | 2023-02-04, 12:11 | [Go] previous implementation was incorrect | Pablitoz | |
👁 Δ | 16 | 2023-02-04, 11:20 | New Go implementation by user [Pablitoz] | Pablitoz | |
👁 Δ | 15 | 2022-02-11, 14:12 | [Java] Structure for sum | programming-idioms.org | |
👁 Δ | 14 | 2022-02-11, 14:11 | [Java] No main method needed | programming-idioms.org | |
👁 Δ | 13 | 2022-02-10, 23:35 | New Java implementation by user [m1ritchie] | m1ritchie | |
👁 Δ | 12 | 2021-08-16, 15:23 | [JS] To add caller | aj | |
👁 Δ | 11 | 2021-08-16, 15:22 | New JS implementation by user [aj] | aj | |
👁 Δ | 10 | 2021-08-03, 14:32 | Linked to idiom #26 [Create a 2-dimensional array] | tkoenig | |
👁 Δ | 9 | 2021-06-20, 15:37 | [Rust] +DocURL | programming-idioms.org | |
👁 Δ | 8 | 2021-06-09, 10:32 | New Rust implementation by user [Kacper] | Kacper | |
👁 Δ | 7 | 2020-10-23, 17:30 | New Python implementation by user [strom-und-spiele] | strom-und-spiele | |
👁 Δ | 6 | 2019-10-05, 22:04 | New Ruby implementation by user [steenslag] | steenslag | |
👁 Δ | 5 | 2019-09-29, 11:22 | New Perl implementation by user [daxim] | daxim | |
👁 Δ | 4 | 2019-09-29, 09:17 | [Pascal] This is not two-dimensional | tkoenig | |
👁 Δ | 3 | 2019-09-29, 09:08 | New Pascal implementation by user [Bart] | Bart | |
👁 Δ | 2 | 2019-09-28, 16:25 | [Fortran] Included calling side. | tkoenig | |
1 | 2019-09-28, 16:24 | Idiom creation by user [tkoenig] | tkoenig |