[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] EACH by axis

From: Elias Mårtenson
Subject: [Bug-apl] EACH by axis
Date: Mon, 31 Mar 2014 11:51:44 +0800

I keep wanting to be able to apply an axis argument to the ¨ (EACH) operator. I.e, to sort an array rows, I wanted to do:

{⍵[⍋⍵]}¨[2] foo

Instead, I had to do:

⊃ {⍵[⍋⍵]}¨ ⊂[2] foo

Would it make sense to be able to specify an axis number to the the EACH operator as an extension?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]