HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by beachy | Hacker News Reader
Parent
Full thread
beachy
·
By comparison in APL:
life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
View on HN
LfLxfxxLxfxx
·
life←{≢⍸⍵}⌺3 3∊¨3+0,¨⊢
https://youtu.be/3FjYly2G_QI?t=565
RodgerTheGreat
·
I think I've nearly convinced Arthur to include an equivalent to "stencil" in k7. Fingers crossed!
Avshalom
·
K's approach of arrays of arrays would preclude an efficient 2d stencil operation wouldn't it?
Reply on news.ycombinator.com