3 ms·
That's great and you have sent me down the rabbit hole. So, usage would be something like: CardPower ← {+⌿⍤2(∘.≤)⍤1⍨⍵} CardPower cardMatrix
by Affric 3y ago
That's great and you have sent me down the rabbit hole.
So, usage would be something like:
CardPower ← {+⌿⍤2(∘.≤)⍤1⍨⍵}
CardPower cardMatrix
- bear8642 3y agoYep, or even apply inline as {+⌿⍤2(∘.≤)⍤1⍨⍵}cardMatrix
- Affric 3y agoThinking about your comment further (and having read TFA and some of the comments) inline usage does seem to make more sense as it's only a few more characters. In that way it's transparent. Decreasing indirection (assuming that the operators always function simply and plainly. Thanks for that follow up comment.