Frame agreement: Difference between revisions

Jump to navigation Jump to search
4 bytes removed ,  00:37, 10 July 2023
m
Clearer APL expr for common frame
(Replace with clearer examples; add table showing frames / cells.)
m (Clearer APL expr for common frame)
Line 52: Line 52:
│2│2 3│
│2│2 3│
└─┴───┘
└─┴───┘
       ⊢cf←lf(⊃{⍺⍵}⌷⍨(,⍳⌊)⍥≢)rf   ⍝ common (shorter) frame
       ⊢cf←lf{⍺<⍥≢⍵:⍺ ⋄ ⍵}rf     ⍝ common (shorter) frame
2
2
       x{⍺⍵}⍤(-≢cf)⊢y            ⍝ 1st step: the (-≢cf)-cells are paired 1-to-1 between x and y
       x{⍺⍵}⍤(-≢cf)⊢y            ⍝ 1st step: the (-≢cf)-cells are paired 1-to-1 between x and y
trusted
83

edits

Navigation menu