CRC | Index << >> |
x←1e5 3⍴⊂⍬ x[;1]←u[?1e5⍴≢u←' '~¨⍨↓⎕nl 2 3] x[;2]←15+?1e5⍴60 x[;3]←?1e5⍴2e9 3↑x ⍝ x is a relational matrix ┌───────────────┬──┬──────────┐ │s │41│196549161 │ ├───────────────┼──┼──────────┤ │ben9949 │16│1426044578│ ├───────────────┼──┼──────────┤ │rank_transpose2│25│1926599481│ └───────────────┴──┴──────────┘ y←x ⋄ y[1;3]←⊂'not a relational matrix' cmpx 'x⍳x' 'y⍳y' x⍳x → 6.50E¯3 | 0% ⎕⎕⎕ y⍳y → 5.82E¯2 | +795% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ |