We introduce the dual numbers, a number system that is simple to calculate with that allows us to perform automatic differentiation. For more on the dual number please see: https://win-vector.com/tag/dual-numbers/. (link)
Sabine Hossenfelder’s excellent lecture “Is Infinity Real?” has inspired me to talk a bit about numbers. (link)
This article is a worked-out exercise in applying the Scala type system to solve a small scale optimization problem. For this article we supply complete Scala source code (under a GPLv3 license) and some design discussion.