4,494
edits
(One intermediate revision by one other user not shown) | |||
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 | ||
┌──────┬───────┬────────┬───────┐ | ┌──────┬───────┬────────┬───────┐ | ||
Line 99: | Line 99: | ||
=== Publications === | === Publications === | ||
* [[Dyalog '16]] presentation by [[Roger Hui]]: [https://www.dyalog.com/user-meetings/dyalog16.htm#D06 New Primitive Functions and Operators] | * [[Dyalog '16]] presentation by [[Roger Hui]]: [https://www.dyalog.com/user-meetings/dyalog16.htm#D06 New Primitive Functions and Operators] | ||
* [[Dyalog Ltd.|Dyalog]] blog | * [[Dyalog Ltd.|Dyalog]] blog posts by Roger Hui: [https://www.dyalog.com/blog/2017/07/stencil-lives/ Stencil Lives], [https://www.dyalog.com/blog/2020/06/towards-improvements-to-stencil/ Towards Improvements to ''Stencil''] | ||
== References == | == References == | ||
<references/> | <references/> | ||
{{APL built-ins}}[[Category:Primitive operators]] | {{APL built-ins}}[[Category:Primitive operators]] |