Let us have some fun selecting out diagonals from rank 2 and 3 arrays. It is really an exercise in using some of the lesser-used but powerful primitive APL functions. There are probably several ways to arrive at the solutions. Let's see what we get.
展开▼