At Dyalog we each reserve the end of the week (when circumstances allow it) for Friday afternoon noodles – a time to experiment with almost anything APL-related (or for those of us who look after systems etc, for anything Dyalog Ltd-related). I know I’m either late for last week’s, or early for this week’s, but I wonder if anyone fancies this question for a noodle ?
I need the function avx, and I need it to be as performant as possible: it should return the indices (⎕io←0) of the elements in the argument. All invalid arguments result in a DOMAIN ERROR, and the only valid arguments are si…