# APL Crossword 4

- Reverse the elements in the vector
`L`

- Delete from the vector
`N`

the even numbers 2 to 100
- Scale up the numbers in the matrix
`M`

by 100000, and return as a vector
- Fifty-five fives
- The sum of the absolute value of the vector
`NV`

summed with the magnitudes of the first `R`

elements of `V`

- The
`N`

by `N`

identity matrix (1s on the diagonal)
- Get outta here!
- Flag the rows of the 15-column character matrix
`CMI`

that match the first fifteen elements of `CV`

- A random positive integer no more than 20 bigger than
`A`

- The amount to subtract from
`T`

to make it the next higher integer
- Given
`N`

, a vector of integers, map all values from 1 to 7 to the numbers 0 to 6
- Find the first four in
`F`

fast
- What’s currently localized?
- Transform the matrix of scores
`S`

from students by exams, to exams by students and cap the scores at 100
`(N+1)-⍳N`

, without using `⌽`

- Squeeze all 0s from the vector
`V`

`(⍴M)⍴(1↓⍴M)/V`

for the matrix `M`

and the vector `V`

`E`

(bits) if the vector `N`

is empty, otherwise `(⍴E)⍴1`

- Divide each row of
`NM`

by the vector `E`

, where `S←⍴NM`

- Repeat each column of
`M`

, `C`

times
`(⍴M)⍴(0)`

, for character `M`

`3⌽2/2⍴'ICE CREAM'`

`2-(⍴VEC⍳n[⌽⍳C]`

in origin 1
- Convert the bit vector
`LE`

, having length `M`

, to the designated indices
- Flag those values of
`A`

that are contained in the matrix `NT`

and for which the corresponding values in the non-negative integer array `N`

are nonzero
- How many 27s are there in each row of the matrix
`NM`

?
`1 2 3 4 5`

, five times
- From the first
`N`

values in `T`

, flag those that aren’t multiples of five
- The indices of the vector
`V`

`1⊥⍳10`

- Generate
`NI`

( a multiple of 5) random numbers between 0 and 4, having the same frequency of each value
`(V[1]+⍳L),(V[2]+⍳L),(V[3]+⍳L), ...`

- Which elements in
`R`

are 10s?
`+/⍳4`

- Branch to the line labelled
`V`

if `I`

is a scalar
`-F1-C`

`⍞←⍎⍞←'T',0⍴T←40`

- Change the sign of
`S`

- A random index into the vector
`S`

, up to the index at which the shape of `M`

is found
- Transpose the matrix
`NM`

along the MINOR diagonal
- The number of whole multiples of
`C`

in `NM`

- None
`(⍴M)⍴0`

, for numeric `M`

- Transform
`NM`

from shape `(6 3 4)`

to shape `(4 3 6)`

- Unfinished business
- If
`MAT`

were demoted