Edsger W. Dijkstra: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Marshall |
Miraheze>Marshall |
||
Line 10: | Line 10: | ||
{{quote|Dijkstra: How would you represent a more complex operation, for example, the sum of all elements of a matrix M which are equal to the sum of the corresponding row and column indices?<br/> | {{quote|Dijkstra: How would you represent a more complex operation, for example, the sum of all elements of a matrix M which are equal to the sum of the corresponding row and column indices?<br/> | ||
Iverson: <math>++/(M=⍳^1\,^ | Iverson: <math>++/(M=⍳^1\,^∘_+⍳^1)//M</math> | ||
[the initial <math>+</math> is likely a transcription error]}} | [the initial <math>+</math> is likely a transcription error]}} | ||