Dyalog are attending the FinnAPL Forest Seminar - taking place at Hämeenkylä Manor, Vantaa, Finland on 15-16 March. For details go to http://www.finnapl.fi/tapahtu.htm
@J.Sallé ∘. is a different syntax element altogether, in that it only takes a right operand, but otherwise it acts like an operator...yeah, that's confusing at first, but you can also think of . taking a left operand that can either be a function or ∘, where in the latter case it acts as outer product using the right operand
The problem I'm having now is that I can't seem to use the original matrix as the left argument for the ≡, should I assign it to a variable or can I do without it if I'm smart enough?
@ngn Not obvious to someone who thinks symbolically instead of numerically (with limited precision), not important (just a fun challenge made for you), nothing.
⍉≡⊢∘-\¨ ⍝ Anonymous tacit function.
¨ ⍝ To each element of the argument:
\ ⍝ Cumulative reduction, using
⊢∘- ⍝ Ignore the first element, then negate the second
≡ ⍝ And match
⍉ ⍝ To the argument's transposition.
@ngn Yes. I think most of the code is ok, btw, the lines just need reordering so identifiers are not used before they are defined. Feel free to submit a PR.