Stencil: Difference between revisions
Jump to navigation
Jump to search
m (Fix source tag typo) |
|||
Line 6: | Line 6: | ||
The number of fill elements in along each axis is given as a vector left argument on each call of <source lang=apl inline>f</source> for the respective [[subarray]]. This is designed such that [[Drop]] (<source lang=apl inline>↓</source>) can take the left and right arguments to remove padding: | The number of fill elements in along each axis is given as a vector left argument on each call of <source lang=apl inline>f</source> for the respective [[subarray]]. This is designed such that [[Drop]] (<source lang=apl inline>↓</source>) can take the left and right arguments to remove padding: | ||
<source lang | <source lang=apl> | ||
({⊂⍵}⌺3 3)3 4⍴⍳12 | ({⊂⍵}⌺3 3)3 4⍴⍳12 | ||
┌──────┬───────┬────────┬───────┐ | ┌──────┬───────┬────────┬───────┐ |