bug-apl
[Top][All Lists]
Advanced

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

Re: Rank Operator inconsistency (2)


From: Dr . Jürgen Sauermann
Subject: Re: Rank Operator inconsistency (2)
Date: Fri, 10 Jul 2020 20:30:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi Christian,

thanks, fixed in SVN 1305.

Unfortunately to fix this I had to revert another fix that I made in June 2016.
I could not figure why I did that faulty change in 2016 and as far as I can see,
bug-apl shows no related posting either. I hope no older problem will
reappear.

Best regards,
Jürgen



On 7/10/20 2:22 AM, Christian Robert wrote:
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]