New Constructs: Match with Rank | Index << >> |
Are corresponding rows of matrices x and y the same? x y ← ⊂⍤2 ⊢u[?2 2000⍴≢u←(⎕a,⎕d)[?10 29⍴36];] cmpx 'x≡⍤1⊢y' '∧/x=y' x≡⍤1⊢y → 1.14E¯5 | 0% ⎕⎕⎕ ∧/x=y → 7.72E¯5 | +576% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ x y ← ⊂⍤2 ⊢(⎕a,⎕d)[?2 2000 100⍴36] cmpx 'x≡⍤1⊢y' '∧/x=y' x≡⍤1⊢y → 1.01E¯5 | 0% ⎕ ∧/x=y → 2.47E¯4 | +2333% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ |