bug-apl
[Top][All Lists]
Advanced

[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?

Regards,
Elias

reply via email to

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