Skip to content

Crossword

Vector 18:1, page 39

competitions and puzzles

Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 39

Crossword

The empty 12 by 12 crossword grid, numbered 1 to 43

Across

  1. All done
  2. A≥~⊃C[D] for Boolean A
  3. The remainder of B÷A
  4. How many elements in each row of D do not match the corresponding element in vector B?
  5. Round C up to the nearest integer
  6. A≡B for same length vectors A and B
  7. N formatted to D decimal places
  8. The largest number in the vector E×B
  9. 1⍴C for scalar C
  10. How many
  11. How many numbers in vector A are bigger than B (omit the A)?
  12. From ⍳B select N random numbers, without repeats
  13. The Boolean vector B with all but its first 1 converted to 0s
  14. ⍟(*C)×(*B)
  15. ,+/B=B for vector B
  16. (+/V[1 3 5 7 ...])-(+/V[2 4 6 8 ...])
  17. B[___] to put B in sorted order
  18. (~V∊D)/V
  19. Once V is true
  20. (+\C⍴C=C)-~⎕IO for scalar C
  21. Product of V
  22. (⌽⍳⍴⍴N)⍉N
  23. (N↓B),(N↑B) for positive N on vector B, where N≤⍴B
  24. 1-poles in Boolean vector V to 1-maps:
    0 1 0 0 0 0 1 0 0 → 0 1 1 1 1 1 0 0 0
  25. ×/⍳C in origin 1
  26. (×/V[1 3 5 7 ...]÷(×/V[2 4 6 8 ...])
  27. Half of V, rounded to an integer
  28. A times pi
  29. The leading true bits in Boolean V
  30. The smallest number in vector V
  31. M⍱~∧/V, for matrix M, vector V

Down

  1. Go to line L
  2. +/A×B for vectors A and B
  3. 0≠+/A∊B for scalar B (omit the A)
  4. (D<B)∨(D>B)
  5. What’s hiding in the scalar A?
  6. The values in A, but not less than N
  7. The absolute value of C
  8. Which columns of matrix B have numbers that are all less than the scalar D?
  9. A+⌈/B for scalar A, vector B
  10. Stick vector D onto the left side of matrix B
  11. The number C in characters that look like it
  12. The largest number in vector B (or negative infinity if B is empty)
  13. The indices to extract from (E⍴0),D the elements of D sorted according to the collating sequence C
  14. Cumulative sum of V
  15. D[N⍴⍳⍴D]
  16. (⍳0)⍴1?B
  17. V[1]<V[2] for two-element vector V
  18. Cumulative alternating sum
  19. Where B is first seen in vector V
  20. C=0 for Boolean C
  21. Are any of V true?
  22. (?N⍴V[1]),(?N⍴V[2]) in origin 1
  23. Cumulative product of V
  24. The number of different combinations of A items taken N at a time
  25. C[(⎕IO+⍴C)-⍳⍴C]
  26. Parity of Boolean vector V, i.e. 2|+/V
  27. ,+/V≠0 for vector V
  28. Cumulative alternating product
  29. Circumference of circle of diameter D
  30. All
  31. M, enclosed into a nested scalar

Solution to Crossword in 17.4

[Errata: There were a couple of typos in the last crossword. In 6 down Lawrence Welk was mis-spelled as Lawrence Wall; 8 down should have been The greater of BV or M; and 19 and 20 down were marked one square too far left on the grid.]

The completed 12 by 12 crossword grid from Vector 17.4, filled with APL symbols, names and digits; row 1 reads V ~ N, then ( A 1 ∨ B ) / C, and the bottom row reads 0, then V A R I A B L E

[Vector Production]

Following an interesting run-in with Word2000 and shaded table-cells, the crosswords are now being generated in NewLeaf and linked to the Word document as metafiles! Moral: never upgrade your word-processor under time-pressure.