bug-apl
[Top][All Lists]
Advanced

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

Rank Operator inconsistency (2)


From: Christian Robert
Subject: Rank Operator inconsistency (2)
Date: Thu, 9 Jul 2020 20:22:08 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

A better example that visually show the problem:


      24 ⎕CR  {⍴ (⊢⍤1) (⍵,6)⍴9} ¨ 0 1 2 3 4 5 6
┌7──────────────────────────────────────┐
│┌2──┐ ┌→┐ ┌2──┐ ┌2──┐ ┌2──┐ ┌2──┐ ┌2──┐│
││0 6│ │6│ │2 6│ │3 6│ │4 6│ │5 6│ │6 6││
│└───┘ └─┘ └───┘ └───┘ └───┘ └───┘ └───┘│
└∊──────────────────────────────────────┘


btw, NARS200 give this answer:

      ⎕FMT   {⍴ (⊢⍤1) (⍵,6)⍴9} ¨ 0 1 2 3 4 5 6
┌7───────────────────────────────────────────────┐
│┌2───┐ ┌2───┐ ┌2───┐ ┌2───┐ ┌2───┐ ┌2───┐ ┌2───┐│
││ 0 6│ │ 1 6│ │ 2 6│ │ 3 6│ │ 4 6│ │ 5 6│ │ 6 6││
│└~───┘ └~───┘ └~───┘ └~───┘ └~───┘ └~───┘ └~───┘2
└∊───────────────────────────────────────────────┘


Xtian.



reply via email to

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