|
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 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |