A little problem.

General APL language issues

Re: A little problem.

Postby Roger|Dyalog on Tue Mar 28, 2017 5:49 pm

⊣⌸⍵ does get the unique major cells of ⍵. It is the best until we get our act together and extend ∪⍵ to do that, in the same way that ⍺⍳⍵ was extended.

∪⍵ ←→ ⍵⌿⍨(⍳≢⍵)=⍵⍳⍵

BTW, as described in Glasgow, the result of the new interval index ⍸ are bee's knees as left argument to key.
Roger|Dyalog
 
Posts: 238
Joined: Thu Jul 28, 2011 10:53 am

Previous

Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest