4min chapter

The Array Cast cover image

Fold and Scan

The Array Cast

CHAPTER

The Convergence Form of the Scan Operator

The converge form of the scan operator is a unary f applied to x until until it stops changing where you get back to where you started. So f scan on x is just going to keep going until it's done. When's it done? It's done when the results you get is this is the same or indistinguishable from the previous result. Oh, then we're done here. If the result matches your original original value, which is all with come around in a circle and we're done. Now, a nice little wrinkle in that is that because Q and K. See, I kind of dualism between functions and arrays. The, you can replace the test function with a

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode